1
0
Fork 0
mirror of https://github.com/imjasonh/kontain.me synced 2026-07-08 09:04:54 +00:00

try to get back to how it was working before

This commit is contained in:
Jason Hall 2021-12-09 13:22:57 -05:00
parent 5457146986
commit 2771cc0fac

View file

@ -30,15 +30,15 @@ jobs:
project_id: kontaindotme
# Setup OIDC->SA auth
- uses: google-github-actions/auth@v0.4.2
- uses: google-github-actions/auth@v0.3.0
id: auth
with:
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 configure-docker
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