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
parent
13ae1b4f26
commit
e930b76464
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue