Skip to content

Commit

Permalink
Add GCloud GKE auth package (#314)
Browse files Browse the repository at this point in the history
* Test if step is required

* Test downgrading to version 1

* Test removing args for new action version

* Install new gke auth plugin

* Try GKE auth action

* Try not getting creds

* Clean up

* Changes for other envs too
  • Loading branch information
faucomte97 authored Dec 20, 2023
1 parent e6fccfc commit cf587e0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy_default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:

- name: Setup gcloud CLI
uses: google-github-actions/setup-gcloud@v2
with:
version: "337.0.0"
project_id: ${{ env.APP_ID }}

- name: GKE auth
uses: simenandre/setup-gke-gcloud-auth-plugin@v1

- name: Deploy to Google Cloud
uses: ./.github/actions/deploy_gcloud
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ jobs:

- name: Setup gcloud CLI
uses: google-github-actions/setup-gcloud@v2
with:
version: "337.0.0"
project_id: ${{ env.APP_ID }}

- name: GKE auth
uses: simenandre/setup-gke-gcloud-auth-plugin@v1

- name: Deploy to Google Cloud
uses: ./.github/actions/deploy_gcloud
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:

- name: Setup gcloud CLI
uses: google-github-actions/setup-gcloud@v2
with:
version: "337.0.0"
project_id: ${{ env.APP_ID }}

- name: GKE auth
uses: simenandre/setup-gke-gcloud-auth-plugin@v1

- name: Deploy to Google Cloud
uses: ./.github/actions/deploy_gcloud
Expand Down

0 comments on commit cf587e0

Please sign in to comment.