mirror of
https://github.com/imjasonh/kontain.me
synced 2026-07-18 14:47:48 +00:00
try to get this working again
This commit is contained in:
parent
ba576c54dc
commit
5777da7c62
1 changed files with 4 additions and 8 deletions
12
.github/workflows/deploy.yaml
vendored
12
.github/workflows/deploy.yaml
vendored
|
|
@ -22,23 +22,19 @@ jobs:
|
|||
- uses: imjasonh/setup-ko@v0.4
|
||||
env:
|
||||
KO_DOCKER_REPO: gcr.io/kontaindotme
|
||||
with:
|
||||
version: tip
|
||||
- uses: imjasonh/setup-crane@v0.1
|
||||
- uses: google-github-actions/setup-gcloud@v0.3.0
|
||||
with:
|
||||
project_id: kontaindotme
|
||||
|
||||
# Setup OIDC->SA auth
|
||||
- uses: google-github-actions/auth@v0.4.2
|
||||
- uses: google-github-actions/auth@v0
|
||||
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
|
||||
- uses: google-github-actions/setup-gcloud@v0.6.0
|
||||
with:
|
||||
project_id: kontaindotme
|
||||
- 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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue