mirror of
https://github.com/octoleo/plantuml-server.git
synced 2024-12-22 08:48:54 +00:00
Tags the docker image if there is a git tag
This commit is contained in:
parent
7112ea8a04
commit
fffa69238c
@ -32,6 +32,10 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user