Group docker deployment steps to prevent race conditions/conflicts
parent
1f684dbc75
commit
a0b79c61d2
|
@ -23,6 +23,8 @@ steps:
|
||||||
- label: ":docker: Image Deployments"
|
- label: ":docker: Image Deployments"
|
||||||
command: ".buildkite/steps/deployimages.sh | buildkite-agent pipeline upload"
|
command: ".buildkite/steps/deployimages.sh | buildkite-agent pipeline upload"
|
||||||
branches: "master v*"
|
branches: "master v*"
|
||||||
|
concurrency: 1
|
||||||
|
concurrency_group: "deployments"
|
||||||
|
|
||||||
- wait:
|
- wait:
|
||||||
if: build.branch == "master" || build.branch =~ /^v/
|
if: build.branch == "master" || build.branch =~ /^v/
|
||||||
|
@ -30,6 +32,8 @@ steps:
|
||||||
- label: ":docker: Deploy Manifests"
|
- label: ":docker: Deploy Manifests"
|
||||||
command: "authelia-scripts docker push-manifest"
|
command: "authelia-scripts docker push-manifest"
|
||||||
branches: "master v*"
|
branches: "master v*"
|
||||||
|
concurrency: 1
|
||||||
|
concurrency_group: "deployments"
|
||||||
env:
|
env:
|
||||||
DOCKER_CLI_EXPERIMENTAL: "enabled"
|
DOCKER_CLI_EXPERIMENTAL: "enabled"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue