From 317d47406e864bac73ca56171fb7d030e95f9d42 Mon Sep 17 00:00:00 2001 From: Jorge Turrado Ferrero Date: Thu, 26 Dec 2024 18:09:22 +0100 Subject: [PATCH] fix: Use the right permissions in release workflow's token (#1228) Signed-off-by: Jorge Turrado --- .github/workflows/build_release.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index 0f59bd46..a4fe8fbb 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -4,14 +4,11 @@ on: push: tags: ["v[0-9].[0-9].[0-9]"] -permissions: - contents: read - jobs: build: runs-on: ubuntu-latest permissions: - contents: read + contents: write packages: write id-token: write # needed for signing the images with GitHub OIDC Token **not production ready**