Skip to content

Commit 2ced8e0

Browse files
committed
add id_token permissions
1 parent 8d18a9d commit 2ced8e0

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.gitallowed

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
token: ?"?\$\{\{\s*secrets\.GITHUB_TOKEN\s*\}\}"?
22
.*\.gitallowed.*
3+
id-token: write

.github/workflows/quality-checks.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,8 @@ jobs:
367367
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
368368

369369
build_dev_container_x64:
370+
permissions:
371+
id-token: write
370372
runs-on: ubuntu-22.04
371373
if: ${{ inputs.dev_container_ecr != '' && inputs.dev_container_image_tag != '' }}
372374
steps:
@@ -404,6 +406,8 @@ jobs:
404406
docker push "${{ steps.retrieve-deploy-account-id.outputs.account_id }}.dkr.ecr.eu-west-2.amazonaws.com/${{ inputs.dev_container_ecr }}:${{ inputs.dev_container_image_tag }}-amd64"
405407
406408
build_dev_container_arm64:
409+
permissions:
410+
id-token: write
407411
runs-on: ubuntu-22.04-arm
408412
if: ${{ inputs.dev_container_ecr != '' && inputs.dev_container_image_tag != '' }}
409413
steps:
@@ -441,6 +445,8 @@ jobs:
441445
docker push "${{ steps.retrieve-deploy-account-id.outputs.account_id }}.dkr.ecr.eu-west-2.amazonaws.com/${{ inputs.dev_container_ecr }}:${{ inputs.dev_container_image_tag }}-arm64"
442446
443447
create_multi_arch_manifest:
448+
permissions:
449+
id-token: write
444450
runs-on: ubuntu-22.04
445451
needs: [build_dev_container_x64, build_dev_container_arm64]
446452
if: ${{ inputs.dev_container_ecr != '' && inputs.dev_container_image_tag != '' }}

0 commit comments

Comments
 (0)