mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-29 14:30:52 +00:00
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:
2 files changed
-4
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user