Commit f223750
committed
ci: drop the Docker gha cache that broke the image push
The Docker preview job now fails outright:
#14 exporting to GitHub Actions Cache
#14 ERROR: error writing layer blob: failed to reserve cache
#13 exporting to image ... CANCELED
ERROR: failed to build: failed to solve: error writing layer blob
The cache export is fatal to the build, so it cancelled the image push. My
optimization broke the job it was meant to speed up, and the npm preview for
PR #2328 published fine while its Docker image did not.
Reverting rather than fixing it. Making it work would need `actions: write`
on the one job that installs and executes the preview package, which is the
job SR-5 says to keep as unprivileged as possible, and this was the only
`type=gha` usage in the repo so there was no working precedent to copy. The
benefit was 60-90s of apt on a path that already waits on a human approval
measured in minutes to days, so it was buying almost nothing.
`ignore-error=true` would keep the build green but the export would keep
failing, leaving a dead directive and a stack trace in every log.1 parent 96ff4c8 commit f223750
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | 457 | | |
462 | 458 | | |
463 | 459 | | |
| |||
0 commit comments