📦 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

View File

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