Skip to content

Commit 8f997b8

Browse files
wy65701436wang yan
andauthored
fix the git action publish permission issue (#22840)
it needs the write permission to publish the harbor assets to github releases. Signed-off-by: wang yan <yan-yw.wang@broadcom.com> Co-authored-by: wang yan <yan-yw.wang@broadcom.com>
1 parent 536074d commit 8f997b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish_release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ jobs:
1010
runs-on: ubuntu-latest
1111
permissions:
1212
contents: write # Required for creating GitHub releases and uploading assets
13-
id-token: write # Required for Cosign keyless signing
13+
id-token: write # Required for Cosign keyless signing
14+
packages: write # Required for pushing images to ghcr.io
1415
steps:
1516
- uses: actions/checkout@v6
1617
- name: Setup env

0 commit comments

Comments
 (0)