diff --git a/.travis.yml b/.travis.yml index b0e09af..dcf4014 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,21 +28,21 @@ jobs: tags: true - stage: docker-push name: jetty - script: > - 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 ; - docker push plantuml/plantuml-server:jetty; - docker push plantuml/plantuml-server:latest; + script: + - 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 + - docker push plantuml/plantuml-server:jetty + - docker push plantuml/plantuml-server:latest - stage: docker-push name: tomcat - script: > - docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD - docker build --pull -t plantuml/plantuml-server:tomcat -f Dockerfile.tomcat . ; - docker push plantuml/plantuml-server:tomcat; + script: + - docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD + - docker build --pull -t plantuml/plantuml-server:tomcat -f Dockerfile.tomcat . + - docker push plantuml/plantuml-server:tomcat - stage: docker-push name: armv8a - script: > - docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD - docker build --pull -t plantuml/plantuml-server:armv8a -f Dockerfile.armv8a . ; - docker push plantuml/plantuml-server:armv8a; + script: + - docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD + - docker build --pull -t plantuml/plantuml-server:armv8a -f Dockerfile.armv8a . + - docker push plantuml/plantuml-server:armv8a