File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -192,15 +192,19 @@ jobs:
192192 with :
193193 service_account_key : ${{ secrets.GKE_SA_KEY }}
194194 project_id : ${{ secrets.GKE_PROJECT }}
195-
195+
196+ - name : Auth GCloud
197+ uses : google-github-actions/auth@v2
198+ if : ${{ contains(github.ref, 'main') && github.event.pull_request.title != 'Feedback' }}
199+ with :
200+ credentials_json : ' ${{ secrets.GKE_CJSON }}'
201+
196202 - name : Get GKE creds
197203 uses : google-github-actions/get-gke-credentials@v2
198204 if : ${{ contains(github.ref, 'main') && github.event.pull_request.title != 'Feedback' }}
199205 with :
200- project_id : ${{ secrets.GKE_PROJECT }}
201206 cluster_name : ${{ secrets.GKE_CLUSTER }}
202207 location : ${{ secrets.GKE_ZONE }}
203- credentials : ${{ secrets.GKE_SA_KEY }}
204208
205209 - name : Detect GKE Cluster
206210 if : ${{ contains(github.ref, 'main') && github.event.pull_request.title != 'Feedback' }}
You can’t perform that action at this time.
0 commit comments