1
0
mirror of https://github.com/octoleo/plantuml-server.git synced 2024-12-22 08:48:54 +00:00

Update .travis.yml

Fix issue about docker version
This commit is contained in:
arnaudroques 2017-04-28 13:06:21 +02:00 committed by GitHub
parent cc7409a124
commit cde656d772

View File

@ -12,9 +12,9 @@ after_success:
- docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD - docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD
- if [ "$TRAVIS_BRANCH" == "master" ]; then - if [ "$TRAVIS_BRANCH" == "master" ]; then
docker image build -t plantuml/plantuml-server:jetty -f Dockerfile.jetty . ; docker build -t plantuml/plantuml-server:jetty -f Dockerfile.jetty . ;
docker image build -t plantuml/plantuml-server:tomcat -f Dockerfile.tomcat . ; docker build -t plantuml/plantuml-server:tomcat -f Dockerfile.tomcat . ;
docker image tag plantuml/plantuml-server:jetty plantuml/plantuml-server:latest ; docker tag plantuml/plantuml-server:jetty plantuml/plantuml-server:latest ;
docker push plantuml/plantuml-server:tomcat; docker push plantuml/plantuml-server:tomcat;
docker push plantuml/plantuml-server:jetty; docker push plantuml/plantuml-server:jetty;