Skip to content

Commit 951539a

Browse files
committed
CI: add actions:write permission for GHA cache
The build job fails with "buildx failed with: </body></html>" because the workflow restricts permissions to contents:read only, which sets actions permission to none. The reusable workflow's cache-to:type=gha needs actions:write to access the GitHub Actions Cache API. https://claude.ai/code/session_01WY1ytdnf8Hrx3p7fnmZCUr
1 parent fe9bd2f commit 951539a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/docker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010

1111
permissions:
1212
contents: read
13+
actions: write
1314

1415
jobs:
1516
test:

0 commit comments

Comments
 (0)