Optimise Travis build and deploy steps
These should only run on the master or tagged branches. This also means that while we are utilising Travis that there aren't long 20-30 blocks waiting on a PR to go green due to the build steps.pull/534/head
parent
d30f999628
commit
58734a9d7a
|
@ -86,6 +86,7 @@ jobs:
|
|||
|
||||
- &build-images
|
||||
stage: build images
|
||||
if: branch = "master" && type != "pull_request" || branch =~ /^v/
|
||||
env:
|
||||
- ARCH=amd64
|
||||
script:
|
||||
|
@ -115,6 +116,7 @@ jobs:
|
|||
env:
|
||||
- ARCH=arm64v8
|
||||
- stage: deploy manifests
|
||||
if: branch = "master" && type != "pull_request" || branch =~ /^v/
|
||||
env:
|
||||
- DOCKER_CLI_EXPERIMENTAL=enabled
|
||||
script:
|
||||
|
|
Loading…
Reference in New Issue