diff --git a/.travis.yml b/.travis.yml index 706ae79..ec50713 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,9 +12,9 @@ after_success: - docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD - if [ "$TRAVIS_BRANCH" == "master" ]; then - docker image build -t plantuml/plantuml-server:jetty -f Dockerfile.jetty . ; - docker image build -t plantuml/plantuml-server:tomcat -f Dockerfile.tomcat . ; - docker image tag plantuml/plantuml-server:jetty plantuml/plantuml-server:latest ; + docker build -t plantuml/plantuml-server:jetty -f Dockerfile.jetty . ; + docker build -t plantuml/plantuml-server:tomcat -f Dockerfile.tomcat . ; + docker tag plantuml/plantuml-server:jetty plantuml/plantuml-server:latest ; docker push plantuml/plantuml-server:tomcat; docker push plantuml/plantuml-server:jetty;