Skip to content

Commit 2df70d6

Browse files
committed
ci(gcp): read OIDC audience from GCP_ALLOWED_AUDIENCES secret
1 parent 3db92df commit 2df70d6

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/gcp-integration-tests.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,7 @@ jobs:
6767
with:
6868
workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER_ID }}
6969
service_account: ${{ secrets.GCP_SA_EMAIL }}
70-
# Must match the provider's oidc.allowedAudiences. The pool was created
71-
# following the Google docs that recommend allowed_audiences=
72-
# https://github.com/<org>, so we request that audience explicitly here.
73-
audience: https://github.com/gruntwork-io
70+
audience: ${{ secrets.GCP_ALLOWED_AUDIENCES }}
7471

7572
- name: Set up gcloud CLI
7673
uses: google-github-actions/setup-gcloud@v2

0 commit comments

Comments
 (0)