Skip to content

Commit 68610a4

Browse files
authored
Grant write permissions to the sbom generation (#2360)
Allows the container SBOM signatures to be uploaded. Signed-off-by: Ben Cotton <[email protected]>
1 parent 68bb630 commit 68610a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ jobs:
143143
if: startsWith(github.ref, 'refs/tags/')
144144
permissions:
145145
id-token: write # needed for signing the images with GitHub OIDC Token
146+
packages: write # needed to upload signatures
147+
contents: write # To upload assets to release
146148
steps:
147149
- name: Checkout code
148150
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v3

0 commit comments

Comments
 (0)