From a6b6670bd5cf4d043b0a424394b2d17eeeef23fc Mon Sep 17 00:00:00 2001 From: Chmouel Boudjnah Date: Fri, 26 Apr 2024 13:14:01 +0200 Subject: [PATCH] add permissions write-all to workflow 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 --- .github/workflows/latest.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/latest.yaml b/.github/workflows/latest.yaml index 5f41cf60c..7feda75c0 100644 --- a/.github/workflows/latest.yaml +++ b/.github/workflows/latest.yaml @@ -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