Merge pull request #1885 from ArturKlauser/travis-pr-fix

Don't try to deploy docker images on PR runs
This commit is contained in:
Vidar Holen
2020-03-31 19:12:14 -07:00
committed by GitHub

View File

@@ -17,7 +17,8 @@ jobs:
os: osx os: osx
- stage: Deploy docker image - stage: Deploy docker image
if: branch = master # Deploy only for pushes to master branch, not other branches, not PRs.
if: branch = master AND type = push
script: script:
- source ./.multi_arch_docker - source ./.multi_arch_docker
- set -ex; multi_arch_docker::main; set +x - set -ex; multi_arch_docker::main; set +x