Skip to content

Commit 36af422

Browse files
committed
Add write to packages/attestations for ghcr.io packages
1 parent 26ed47c commit 36af422

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/head-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
# - Read vault secrets in rancher-eio/read-vault-secrets.
4040
# - Publish image to ghcr.io
4141
id-token: write
42+
packages: write
43+
attestations: write
4244

4345
runs-on: ubuntu-latest
4446
needs:

.github/workflows/release-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
# - OIDC for cosign's use in ecm-distro-tools/publish-image.
2828
# - Read vault secrets in rancher-eio/read-vault-secrets.
2929
id-token: write
30+
packages: write
31+
attestations: write
3032

3133
runs-on: ubuntu-latest
3234

0 commit comments

Comments
 (0)