Skip to content

Commit

Permalink
Grant id-token permission in clamav, mongodb and toolbox image workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
samsimpson1 committed Feb 1, 2024
1 parent 81f90aa commit 4c8fb3a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-clamav-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ on:

jobs:
build-and-push-image:
permissions:
id-token: write
uses: alphagov/govuk-infrastructure/.github/workflows/build-and-push-image-oidc.yml@main
with:
gitRef: ${{ inputs.gitRef || github.ref }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-mongodb-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ on:

jobs:
build-and-push-image:
permissions:
id-token: write
uses: alphagov/govuk-infrastructure/.github/workflows/build-and-push-image-oidc.yml@main
with:
gitRef: ${{ inputs.gitRef || github.ref }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-toolbox-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ on:

jobs:
build-and-push-image:
permissions:
id-token: write
uses: alphagov/govuk-infrastructure/.github/workflows/build-and-push-image-oidc.yml@main
with:
gitRef: ${{ inputs.gitRef || github.ref }}
Expand Down

0 comments on commit 4c8fb3a

Please sign in to comment.