ci(buildkite): allow retry on successful docker deploy steps (#2246)

Occasionally during a manifest deployment tags can be removed and the step may fail. To ensure the manifest step can be completed successfully it would require re-pushing the tags that had been removed.

Turning on the `permit_on_passed` option allows us to control this all through the Buildkite interface as opposed to manual intervention.
pull/2248/head
Amir Zarrinkafsh 2021-08-05 18:52:30 +10:00 committed by GitHub
parent 13ae1b4f26
commit e930b76464
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,9 @@ for BUILD_ARCH in amd64 arm32v7 arm64v8; do
cat << EOF cat << EOF
- label: ":docker: Deploy Image [${BUILD_ARCH}]" - label: ":docker: Deploy Image [${BUILD_ARCH}]"
command: "authelia-scripts docker push-image --arch=${BUILD_ARCH}" command: "authelia-scripts docker push-image --arch=${BUILD_ARCH}"
retry:
manual:
permit_on_passed: true
depends_on: depends_on:
EOF EOF
if [[ "${BUILD_ARCH}" == "amd64" ]]; then if [[ "${BUILD_ARCH}" == "amd64" ]]; then