Skip to content

Commit 761fc4c

Browse files
torsmcopybara-github
authored andcommitted
Fix workflow permissions for publishing docker images
This workflow has recently always failed with `ERROR: denied: installation not allowed to Write organization package`. PiperOrigin-RevId: 753914604
1 parent 5f27bcd commit 761fc4c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,9 @@ jobs:
319319
REGISTRY: ghcr.io
320320
IMAGE_NAME: ${{ github.repository }}
321321
runs-on: ubuntu-latest
322+
permissions:
323+
packages: write
324+
contents: write
322325
steps:
323326
- name: Checkout repository
324327
uses: actions/checkout@v4

0 commit comments

Comments
 (0)