Push to docker hub only if the build succeeds.
This commit is contained in:
@@ -23,8 +23,10 @@ before_script:
|
|||||||
- docker logs mailman-core
|
- docker logs mailman-core
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- tests/core.sh
|
- tests/core.sh
|
||||||
|
|
||||||
|
after_success:
|
||||||
|
- sh .travis/deploy_dockerhub.sh
|
||||||
|
|
||||||
after_script:
|
after_script:
|
||||||
- docker-compose down
|
- docker-compose down
|
||||||
- sh .travis/deploy_dockerhub.sh
|
|
||||||
|
|||||||
Reference in New Issue
Block a user