📦 Second attempt to push Docker Images
This commit is contained in:
parent
7417d67dea
commit
a6991b9516
21
.travis.yml
21
.travis.yml
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user