ci: make GHA cache export non-fatal (ignore-error=true)

The frontend/backend image builds + pushes succeed, then the final
'exporting to GitHub Actions Cache' step intermittently fails with
'error writing layer blob: not_found' (a known flaky type=gha cache backend
issue), failing the whole job. Add ignore-error=true to every cache-to so a
cache-write hiccup can't break an otherwise-successful, already-pushed build.
This commit is contained in:
Luca
2026-06-12 17:56:06 +02:00
parent 9f8511114a
commit bbceac6cb0
2 changed files with 10 additions and 3 deletions
+2 -1
View File
@@ -61,7 +61,8 @@ jobs:
load: true
tags: picpeak-backend:smoke
cache-from: type=gha,scope=install-smoke
cache-to: type=gha,mode=max,scope=install-smoke
# ignore-error: a flaky GHA cache write must not fail the build.
cache-to: type=gha,mode=max,scope=install-smoke,ignore-error=true
- name: Create Docker network
run: docker network create picpeak-smoke