Updated travis.yml to not push 'latest' tag
@@ -14,3 +14,9 @@ script:
- sh build.sh
# Invoke ci script too
- sh contrib/ci.sh
+after_success:
+ - if [ ! -s "$TRAVIS_TAG" ] ; then
+ docker tag $DOCKER_USERNAME/gateway:latest-dev $DOCKER_USERNAME/gateway:$TRAVIS_TAG;
+ docker login -u=$DOCKER_USERNAME -p=$DOCKER_PASSWORD;
+ docker push $DOCKER_USERNAME/gateway:$TRAVIS_TAG;
+ fi
\ No newline at end of file
