Skip to content

Commit

Permalink
Use service account
Browse files Browse the repository at this point in the history
  • Loading branch information
amochtar authored Jan 8, 2024
1 parent e8a56cf commit e7a2f06
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
permissions:
contents: 'read'
id-token: 'write'

steps:
- id: latest-k3s
uses: pozetroninc/[email protected]
Expand All @@ -41,7 +41,8 @@ jobs:
uses: 'google-github-actions/auth@v2'
with:
project_id: instruqt
workload_identity_provider: ${{ vars.GH_GCLOUD_WORKLOAD_IDENTITY_PROVIDER }}
workload_identity_provider: ${{ secrets.GH_GCLOUD_WORKLOAD_IDENTITY_PROVIDER }}
service_account: ${{ secrets.GOOGLE_CLOUD_SERVICE_ACCOUNT }}

- name: Setup `packer`
if: ${{ steps.tag-exists.outputs.exists == 'false' }}
Expand Down

0 comments on commit e7a2f06

Please sign in to comment.