Revert "Tags the docker image if there is a git tag"

This reverts commit fffa69238c.
This commit is contained in:
John Jarvis 2019-09-16 14:59:44 +02:00
parent eedd4691c8
commit 749cdfb7ab
1 changed files with 0 additions and 4 deletions

View File

@ -32,10 +32,6 @@ jobs:
- docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD
- docker build --pull -t plantuml/plantuml-server:jetty -f Dockerfile.jetty .
- docker tag plantuml/plantuml-server:jetty plantuml/plantuml-server:latest
- if [ -n "$TRAVIS_TAG" ]; then
docker tag plantuml/plantuml-server:jetty plantuml/plantuml-server:$TRAVIS_TAG;
docker push plantuml/plantuml-server:$TRAVIS_TAG;
fi
- docker push plantuml/plantuml-server:jetty
- docker push plantuml/plantuml-server:latest
- stage: docker-push