Skip to content

Commit

Permalink
cicd: increase gcp auth token lifetime (#5944)
Browse files Browse the repository at this point in the history
fixes 403 errors on some jobs/builds from @igor-aptos
  • Loading branch information
geekflyer authored Dec 20, 2022
1 parent de212ad commit 109d752
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/actions/gar-auth/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down

0 comments on commit 109d752

Please sign in to comment.