Group docker deployment steps to prevent race conditions/conflicts

pull/559/head
Amir Zarrinkafsh 2020-01-18 10:58:58 +11:00
parent 1f684dbc75
commit a0b79c61d2
1 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,8 @@ steps:
- label: ":docker: Image Deployments"
command: ".buildkite/steps/deployimages.sh | buildkite-agent pipeline upload"
branches: "master v*"
concurrency: 1
concurrency_group: "deployments"
- wait:
if: build.branch == "master" || build.branch =~ /^v/
@ -30,6 +32,8 @@ steps:
- label: ":docker: Deploy Manifests"
command: "authelia-scripts docker push-manifest"
branches: "master v*"
concurrency: 1
concurrency_group: "deployments"
env:
DOCKER_CLI_EXPERIMENTAL: "enabled"