From 7a6ef96bcf674e13f6c8acc38c2a4baf65fe0d30 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Wed, 11 Dec 2024 06:08:54 -0500 Subject: [PATCH] ci: restore id-token write access (#315) Signed-off-by: Chris Gianelloni --- .github/workflows/publish.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5fa3d06..50531aa 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -45,6 +45,8 @@ jobs: arch: [amd64, arm64] runs-on: ubuntu-latest needs: [create-draft-release] + permissions: + id-token: write steps: - run: "echo \"RELEASE_TAG=${GITHUB_REF#refs/tags/}\" >> $GITHUB_ENV" - uses: actions/checkout@v4 @@ -76,6 +78,8 @@ jobs: build-images: runs-on: ubuntu-latest needs: [create-draft-release] + permissions: + id-token: write steps: - run: "echo \"RELEASE_TAG=${GITHUB_REF#refs/tags/}\" >> $GITHUB_ENV" - uses: actions/checkout@v4