Skip to content

Commit

Permalink
add permissions write-all to workflow
Browse files Browse the repository at this point in the history
we are getting this error:

Error: failed to publish images: error publishing
ko://github.com/openshift-pipelines/tekton-caches/cmd/cache: writing
sbom: POST
https://ghcr.io/v2/openshift-pipelines/tekton-caches/cache/blobs/uploads/:
DENIED: installation not allowed to Write organization package
  • Loading branch information
chmouel committed Apr 26, 2024
1 parent 27a3e1b commit a6b6670
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,7 @@ jobs:
needs: [build]

# https://docs.github.com/en/actions/reference/authentication-in-a-workflow
permissions:
id-token: write
packages: write
contents: read
permissions: write-all

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand Down

0 comments on commit a6b6670

Please sign in to comment.