1
0
mirror of https://github.com/octoleo/plantuml-server.git synced 2024-11-18 02:05:12 +00:00
plantuml-server/.travis.yml
2017-12-13 10:31:39 +01:00

24 lines
708 B
YAML

language: java
sudo: required
services:
- docker
after_success:
- docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD
- if [ "$TRAVIS_BRANCH" == "master" ]; then
docker build --pull -t plantuml/plantuml-server:jetty -f Dockerfile.jetty . ;
docker build --pull -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;
docker push plantuml/plantuml-server:latest;
docker build --pull -t plantuml/plantuml-server:armv8a -f Dockerfile.armv8a . ;
docker push plantuml/plantuml-server:armv8a;
fi