mirror of
https://github.com/imjasonh/kontain.me
synced 2026-07-16 20:34:22 +00:00
gcloud auth login again
This commit is contained in:
parent
545bb21e7b
commit
318392269b
1 changed files with 4 additions and 1 deletions
5
.github/workflows/deploy.yaml
vendored
5
.github/workflows/deploy.yaml
vendored
|
|
@ -36,7 +36,10 @@ jobs:
|
|||
workload_identity_provider: 'projects/7577580991/locations/global/workloadIdentityPools/gha-pool/providers/gha-provider'
|
||||
service_account: 'gha-deployer@kontaindotme.iam.gserviceaccount.com'
|
||||
create_credentials_file: true
|
||||
- run: gcloud auth print-access-token | ko login gcr.io --username=oauth2accesstoken --password-stdin
|
||||
- name: Login
|
||||
- run: |
|
||||
gcloud auth login --brief --cred-file="${{ steps.auth.outputs.credentials_file_path }}"
|
||||
gcloud auth print-access-token | ko login gcr.io --username=oauth2accesstoken --password-stdin
|
||||
|
||||
# Checkout code.
|
||||
- uses: actions/checkout@v2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue