diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index df38966c..d690c2f8 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -49,7 +49,7 @@ jobs: uses: actions/checkout@v4 - name: Authenticate to Google Cloud id: auth - uses: google-github-actions/auth@v1 + uses: google-github-actions/auth@v2 with: token_format: access_token workload_identity_provider: projects/${{inputs.gcp_project_number}}/locations/global/workloadIdentityPools/${{inputs.gcp_workload_identity_pool}}/providers/${{inputs.gcp_oidc_provider_name}} diff --git a/.github/workflows/tests-go.yaml b/.github/workflows/tests-go.yaml index d3d292e0..ef215905 100644 --- a/.github/workflows/tests-go.yaml +++ b/.github/workflows/tests-go.yaml @@ -58,7 +58,7 @@ jobs: run: curl -sSf https://atlasgo.sh | sh - name: Authenticate with GCP id: auth - uses: google-github-actions/auth@v1 + uses: google-github-actions/auth@v2 with: workload_identity_provider: projects/${{env.GCP_PROJECT_NUMBER}}/locations/global/workloadIdentityPools/${{env.GCP_WORKLOAD_IDENTITY_POOL}}/providers/${{env.GCP_OIDC_PROVIDER_NAME}} service_account: ${{env.GCP_SERVICE_ACCOUNT_NAME}}@${{env.GCP_PROJECT_ID}}.iam.gserviceaccount.com