File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments