add permissions to read github oidc token

Gaël Goinvic 2024-01-03 13:03:22 +01:00
parent 2b9f9f3097
commit 75a670d093
No known key found for this signature in database
GPG Key ID: 1432A13D0F88CEAF
1 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,9 @@ on:
# This job can take a while, and we have usage limits, so just publish develop only twice a day
- cron: "0 7/12 * * *"
concurrency: ${{ github.workflow }}-${{ github.ref_name }}
permissions:
id-token: write # needed for signing the images with GitHub OIDC Token
jobs:
buildx:
name: Docker Buildx