Skip to content

Commit 8d0f9c1

Browse files
authored
ci: add artifact-metadata permission to merge image
1 parent 0b102f3 commit 8d0f9c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/wc-build-push.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ jobs:
152152
- sanitize-image-name
153153
permissions:
154154
actions: read # is needed by anchore/sbom-action to find workflow artifacts when attaching release assets
155+
artifact-metadata: write # is needed by actions/attest-build-provenance to write artifact metadata
155156
attestations: write # is needed by actions/attest-build-provenance to push attestations
156157
contents: write # is needed by anchore/sbom-action for artifact uploads
157158
id-token: write # is needed by actions/attest-build-provenance to obtain an OIDC token

0 commit comments

Comments
 (0)