File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,13 +37,14 @@ jobs:
3737 workload_identity_provider : ' ${{ env.WORKLOAD_IDENTITY_PROVIDER }}'
3838 service_account : ' github-actions@gen-lang-client-0698668474.iam.gserviceaccount.com'
3939
40- # BEGIN - Docker auth and build
41- - name : ' Docker Auth'
42- uses : ' docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567' # docker/login-action@v3
43- with :
44- username : ' oauth2accesstoken'
45- password : ' ${{ steps.auth.outputs.auth_token }}'
46- registry : ' gcr.io'
40+ # Set up Cloud SDK
41+ - name : ' Set up Cloud SDK'
42+ uses : ' google-github-actions/setup-gcloud@98ddc00a17442e89a24bbf282954a3b65ce6d200' # google-github-actions/setup-gcloud@v2
43+
44+ # Configure Docker to use gcloud as a credential helper
45+ - name : ' Configure Docker for GCR'
46+ run : |-
47+ gcloud auth configure-docker --quiet
4748
4849 # Build and Push Backend Container
4950 - name : ' Build and Push Backend Container'
You can’t perform that action at this time.
0 commit comments