Skip to content

Commit 09b7580

Browse files
committed
update google github actions to v1 in staging
1 parent ba5a057 commit 09b7580

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/deploy-staging.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,21 @@ jobs:
3939
${{ env.IMAGE }}:latest
4040
target: production
4141
# Setup gcloud CLI
42-
- uses: google-github-actions/[email protected]
43-
with:
44-
service_account_key: ${{ secrets.GKE_SA_KEY }}
45-
project_id: ${{ secrets.GKE_PROJECT }}
42+
- id: auth
43+
uses: google-github-actions/auth@v1
44+
with:
45+
credentials_json: ${{ secrets.GKE_SA_KEY }}
46+
- uses: google-github-actions/setup-gcloud@v1
4647

4748
# Configure docker to use the gcloud command-line tool as a credential helper
4849
- run: |-
4950
gcloud --quiet auth configure-docker
5051
5152
# Get the GKE credentials so we can deploy to the cluster
52-
- uses: google-github-actions/get-gke-credentials@v0.2.1
53+
- uses: google-github-actions/get-gke-credentials@v1
5354
with:
5455
cluster_name: ${{ env.GKE_CLUSTER }}
5556
location: ${{ env.GKE_ZONE }}
56-
credentials: ${{ secrets.GKE_SA_KEY }}
5757

5858
# Deploy the Docker image to the GKE cluster
5959
- name: Deploy

0 commit comments

Comments
 (0)