fix(ci): fail mirror workflows when image sync fails

Remove continue-on-error from mirror jobs and steps so the workflow
correctly fails when skopeo image mirroring reports errors.

https://chatgpt.com/share/69814760-6940-800f-bad7-0e653c352fff
This commit is contained in:
kevinveenbirkenbach committed 2026-02-03 01:54:48 +01:00
1 parent 5baa995c32
commit fddc5330b6
2 files changed
-4

No files matched your search

-2
View File
@@ -63,7 +63,6 @@ jobs:
sync:
name: Mirror images (skopeo, best-effort)
runs-on: ubuntu-latest
continue-on-error: true
# Copy secrets into env so we can reference them in "if:" (env.* is allowed there)
env:
@@ -106,7 +105,6 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Mirror images to GHCR (best-effort)
continue-on-error: true
shell: bash
run: |
set -euo pipefail
@@ -41,7 +41,6 @@ jobs:
sync:
name: Mirror images (only missing)
runs-on: ubuntu-latest
continue-on-error: true
# Copy secrets/inputs into env so we can reference them in "if:" (env.* is allowed there)
env:
@@ -84,7 +83,6 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Mirror images to GHCR (only missing, best-effort)
continue-on-error: true
shell: bash
run: |
set -euo pipefail