Skip to content

build: explain GitHub Actions cache write restrictions - #26062

Merged
dvdksn merged 1 commit into
docker:mainfrom
crazy-max:gha-cache-write-restrictions
Sep 11, 2026
Merged

build: explain GitHub Actions cache write restrictions#26062
dvdksn merged 1 commit into
docker:mainfrom
crazy-max:gha-cache-write-restrictions

Conversation

@crazy-max

@crazy-max crazy-max commented Sep 11, 2026

Copy link
Copy Markdown
Member

Description

Document GitHub Actions cache write restrictions that can cause cache export to fail after a successful image push, including workflows triggered when a pull request is merged into the default branch. Explain how to restore cache in read-only workflows and populate it from a workflow with write access.

Clarify how cache-mode overrides affect access and why ignore-error=true suppresses export failures without fixing denied writes.

Related issues or tickets

closes docker/build-push-action#1571

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max
crazy-max requested a review from dvdksn as a code owner September 11, 2026 07:10
@netlify

netlify Bot commented Sep 11, 2026

Copy link
Copy Markdown

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 4014604
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6aa3a95fdf447d000837a6e4
😎 Deploy Preview https://deploy-preview-26062--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added the area/build Relates to Dockerfiles or docker build command label Sep 11, 2026

@dvdksn dvdksn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@dvdksn
dvdksn merged commit 2054b41 into docker:main Sep 11, 2026
17 checks passed
@crazy-max
crazy-max deleted the gha-cache-write-restrictions branch September 11, 2026 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/build Relates to Dockerfiles or docker build command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Intermittent "error writing layer blob: failed to reserve cache" during GHA cache export (gha exporter) — not quota, not permissions

2 participants