From 109d752430b43e7c8603ae23d24c07beb4f28b71 Mon Sep 17 00:00:00 2001 From: Christian Theilemann Date: Tue, 20 Dec 2022 12:43:38 -0800 Subject: [PATCH] cicd: increase gcp auth token lifetime (#5944) fixes 403 errors on some jobs/builds from @igor-aptos --- .github/actions/gar-auth/action.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/gar-auth/action.yaml b/.github/actions/gar-auth/action.yaml index 0c95e3dc9809c..7f2b1604c756b 100644 --- a/.github/actions/gar-auth/action.yaml +++ b/.github/actions/gar-auth/action.yaml @@ -18,6 +18,7 @@ runs: with: create_credentials_file: false token_format: "access_token" + access_token_lifetime: 5400 # setting this to 1.5h since sometimes docker builds (special performance builds etc.) take that long. Default is 1h. workload_identity_provider: ${{ inputs.GCP_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ inputs.GCP_SERVICE_ACCOUNT_EMAIL }}