📦 Second attempt to push Docker Images

This commit is contained in:
Christian Mäder 2017-09-29 12:40:34 +02:00
parent 7417d67dea
commit a6991b9516
No known key found for this signature in database
GPG Key ID: 92FFD0A711F196BB
1 changed files with 6 additions and 15 deletions

View File

@ -17,22 +17,13 @@ script:
after_script:
- docker-compose -f docker-compose.test.yml down
before_deploy:
after_success:
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
deploy:
- provider: script
script: build.sh master --push
on:
branch: master
- provider: script
script: build.sh develop-2.2 --push
on:
branch: master
- provider: script
script: build-latest.sh
on:
branch: master
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then
build.sh master --push
build.sh develop-2.2 --push
build-latest.sh
fi
notifications:
slack: