Skip to content

Commit a050f79

Browse files
authored
Merge pull request #16264 from miodvallat/backport-16169-to-auth-4.9.x
auth: backport "build-docker-images-tags: Grant enough permissions to sign images" to 4.9.x
2 parents 9fc150f + c9b87b0 commit a050f79

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/build-docker-images-tags.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
permissions:
1212
actions: read
1313
contents: read
14+
# This is used to complete the identity challenge
15+
# with sigstore/fulcio when running outside of PRs.
16+
id-token: write
1417

1518
jobs:
1619
prepare:

.github/workflows/docker.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
permissions: # least privileges, see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
99
contents: read
1010
actions: read
11+
# This is used to complete the identity challenge
12+
# with sigstore/fulcio when running outside of PRs.
13+
id-token: write
1114

1215
jobs:
1316
call-build-image-auth:

0 commit comments

Comments
 (0)