Skip to content

Commit

Permalink
Merge pull request #21 from mallardduck/ci-bug-perms
Browse files Browse the repository at this point in the history
Add write to packages/attestations for ghcr.io packages
  • Loading branch information
mallardduck authored Nov 8, 2024
2 parents 26ed47c + 36af422 commit a1e9073
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/head-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
# - Read vault secrets in rancher-eio/read-vault-secrets.
# - Publish image to ghcr.io
id-token: write
packages: write
attestations: write

runs-on: ubuntu-latest
needs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
# - OIDC for cosign's use in ecm-distro-tools/publish-image.
# - Read vault secrets in rancher-eio/read-vault-secrets.
id-token: write
packages: write
attestations: write

runs-on: ubuntu-latest

Expand Down

0 comments on commit a1e9073

Please sign in to comment.