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

moar testing

This commit is contained in:
Jason Hall 2021-09-22 09:17:35 -04:00
parent 34b52b9297
commit 49c2907b69

View file

@ -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