Skip to content

Commit

Permalink
Add id-token permissions to release jobs (#265)
Browse files Browse the repository at this point in the history
We need this to auth with GCP

Follow up to #263
  • Loading branch information
julienp authored Sep 5, 2024
1 parent b92c6b7 commit e057e84
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ jobs:
matrix:
go-version: [1.21.x]
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@master
- name: Free Disk Space (Ubuntu)
Expand Down Expand Up @@ -154,6 +156,8 @@ jobs:
matrix:
go-version: [1.21.1]
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@master
- name: Free Disk Space (Ubuntu)
Expand Down Expand Up @@ -330,6 +334,8 @@ jobs:
name: Debian SDK images
needs: define-matrix
runs-on: ubuntu-latest
permissions:
id-token: write
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.define-matrix.outputs.matrix) }}
Expand Down Expand Up @@ -517,6 +523,8 @@ jobs:
ubi-sdk:
name: UBI SDK images
runs-on: ubuntu-latest
permissions:
id-token: write
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit e057e84

Please sign in to comment.