mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
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.
This commit is contained in:
parent
d30f999628
commit
58734a9d7a
|
@ -86,6 +86,7 @@ jobs:
|
||||||
|
|
||||||
- &build-images
|
- &build-images
|
||||||
stage: build images
|
stage: build images
|
||||||
|
if: branch = "master" && type != "pull_request" || branch =~ /^v/
|
||||||
env:
|
env:
|
||||||
- ARCH=amd64
|
- ARCH=amd64
|
||||||
script:
|
script:
|
||||||
|
@ -115,6 +116,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
- ARCH=arm64v8
|
- ARCH=arm64v8
|
||||||
- stage: deploy manifests
|
- stage: deploy manifests
|
||||||
|
if: branch = "master" && type != "pull_request" || branch =~ /^v/
|
||||||
env:
|
env:
|
||||||
- DOCKER_CLI_EXPERIMENTAL=enabled
|
- DOCKER_CLI_EXPERIMENTAL=enabled
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user