mirror of
https://github.com/imjasonh/kontain.me
synced 2026-07-08 00:55:14 +00:00
moar testing
This commit is contained in:
parent
34b52b9297
commit
49c2907b69
1 changed files with 5 additions and 3 deletions
8
.github/workflows/deploy.yaml
vendored
8
.github/workflows/deploy.yaml
vendored
|
|
@ -18,6 +18,7 @@ jobs:
|
|||
contents: read
|
||||
packages: write
|
||||
steps:
|
||||
# Setup tools
|
||||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.17.x
|
||||
|
|
@ -29,16 +30,17 @@ jobs:
|
|||
with:
|
||||
project_id: kontaindotme
|
||||
|
||||
# Setup OIDC->SA auth
|
||||
- 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
|
||||
- name: Setup Auth
|
||||
- name: Login
|
||||
run: |
|
||||
gcloud auth login --brief --cred-file="${{ steps.auth.outputs.credentials_file_path }}"
|
||||
gcloud auth list
|
||||
gcloud config list
|
||||
|
||||
# Test a quick one first. TODO: remove
|
||||
- run: ko publish ./cmd/random
|
||||
- run: ./deploy.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue