Fix wrong conditions

This commit is contained in:
etienne-napoleone 2018-07-25 17:13:59 +07:00
parent 99920424c9
commit cb6cb53bfc
No known key found for this signature in database
GPG key ID: 13183AEB698F46A9

View file

@ -65,14 +65,16 @@ jobs:
- bash docker_push.sh latest - bash docker_push.sh latest
- bash docker_push.sh $TRAVIS_BUILD_ID - bash docker_push.sh $TRAVIS_BUILD_ID
on: on:
branch: master AND tags = false branch: master
condition: tags = false
deploy: deploy:
provider: script provider: script
script: script:
- bash docker_push.sh latest - bash docker_push.sh latest
- bash docker_push.sh $TRAVIS_TAG - bash docker_push.sh $TRAVIS_TAG
on: on:
branch: master AND tags = true branch: master
condition: tags = true
- stage: Trigger rebuild of infrastructure image - stage: Trigger rebuild of infrastructure image
sudo: false sudo: false