diff --git a/.travis.yml b/.travis.yml index 24d9cfb..db26f16 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,6 +17,6 @@ after_success: - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - docker push "sixtlabs/gomodproxy:latest" - if [ ! -z $TRAVIS_TAG ] ; then - docker tag sixtlabs/gomodproxy:latest sixtlabs/gomodproxy:$TRAVIS_TAG - docker push sixtlabs/gomodproxy:$TRAVIS_TAG + docker tag sixtlabs/gomodproxy:latest sixtlabs/gomodproxy:$TRAVIS_TAG; + docker push sixtlabs/gomodproxy:$TRAVIS_TAG; fi