From a528147dbaf3215b9686eb691dcb7285d60e0b71 Mon Sep 17 00:00:00 2001 From: Thomas Ott Date: Tue, 21 Jun 2022 15:36:25 +0200 Subject: [PATCH] fix: update secrets according to readme (#549) * fix: update secrets according to readme * fix: gca secret name Co-authored-by: Thomas Ott --- .../cloud-build/.github/workflows/cloud-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example-workflows/cloud-build/.github/workflows/cloud-build.yml b/example-workflows/cloud-build/.github/workflows/cloud-build.yml index 1395df604..6d9778acd 100644 --- a/example-workflows/cloud-build/.github/workflows/cloud-build.yml +++ b/example-workflows/cloud-build/.github/workflows/cloud-build.yml @@ -43,13 +43,13 @@ jobs: uses: 'google-github-actions/auth@v0' with: workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider' - service_account: 'my-service-account@my-project.iam.gserviceaccount.com' + service_account: '${{ secrets.RUN_SA_EMAIL }}' # Alternative option - authentication via credentials json # - id: 'auth' # uses: 'google-github-actions/auth@v0' # with: - # credentials_json: '${{ secrets.GCP_CREDENTIALS }}' + # credentials_json: '${{ secrets.RUN_SA_KEY }}' # Setup gcloud CLI - name: Set up Cloud SDK