Skip to content

Commit

Permalink
chore: Update Google Cloud authentication in deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
davWK committed Jun 4, 2024
1 parent 6e0adf9 commit 9fb7238
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Authenticate with Google Cloud
uses: google-github-actions/auth@v2
with:
project_id: '${{ secrets.GKE_PROJECT }}'
workload_identity_provider: 'projects/{{ secrets.GKE_PROJECT_NUMBER }}/locations/global/workloadIdentityPools/k8s-challenge/providers/github'
workload_identity_provider: 'projects/${{ secrets.GKE_PROJECT_NUMBER }}/locations/global/workloadIdentityPools/k8s-challenge/providers/github'

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Ignore generated credentials from google-github-actions/auth
gha-creds-*.json

0 comments on commit 9fb7238

Please sign in to comment.