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:
192
192
with :
193
193
service_account_key : ${{ secrets.GKE_SA_KEY }}
194
194
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
+
196
202
- name : Get GKE creds
197
203
uses : google-github-actions/get-gke-credentials@v2
198
204
if : ${{ contains(github.ref, 'main') && github.event.pull_request.title != 'Feedback' }}
199
205
with :
200
- project_id : ${{ secrets.GKE_PROJECT }}
201
206
cluster_name : ${{ secrets.GKE_CLUSTER }}
202
207
location : ${{ secrets.GKE_ZONE }}
203
- credentials : ${{ secrets.GKE_SA_KEY }}
204
208
205
209
- name : Detect GKE Cluster
206
210
if : ${{ contains(github.ref, 'main') && github.event.pull_request.title != 'Feedback' }}
You can’t perform that action at this time.
0 commit comments