mirror of
https://github.com/octoleo/plantuml-server.git
synced 2025-01-06 23:13:56 +00:00
Merge pull request #115 from jarv/jarv/add-tags
Tags the docker image if there is a git tag
This commit is contained in:
commit
5e7b8ddad0
@ -32,6 +32,10 @@ jobs:
|
|||||||
- docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD
|
- docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD
|
||||||
- docker build --pull -t plantuml/plantuml-server:jetty -f Dockerfile.jetty .
|
- docker build --pull -t plantuml/plantuml-server:jetty -f Dockerfile.jetty .
|
||||||
- docker tag plantuml/plantuml-server:jetty plantuml/plantuml-server:latest
|
- 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:jetty
|
||||||
- docker push plantuml/plantuml-server:latest
|
- docker push plantuml/plantuml-server:latest
|
||||||
- stage: docker-push
|
- stage: docker-push
|
||||||
|
Loading…
Reference in New Issue
Block a user