parameterize s3
parent
8959bb3735
commit
c66479da18
|
|
@ -52,11 +52,6 @@ jobs:
|
||||||
- uses: google-github-actions/auth@v1
|
- uses: google-github-actions/auth@v1
|
||||||
with:
|
with:
|
||||||
credentials_json: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_KEY }}
|
credentials_json: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_KEY }}
|
||||||
- run: |
|
|
||||||
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list \
|
|
||||||
&& curl https://packages.cloud.google.com/apt/doc/apt-key.gpg > /usr/share/keyrings/cloud.google.gpg \
|
|
||||||
&& apt-get update
|
|
||||||
sudo apt-get install google-cloud-sdk-gke-gcloud-auth-plugin
|
|
||||||
- name: Get GKE cluster credentials
|
- name: Get GKE cluster credentials
|
||||||
run: gcloud container clusters get-credentials $GKE_CLUSTER --zone $GKE_ZONE --project $GKE_PROJECT
|
run: gcloud container clusters get-credentials $GKE_CLUSTER --zone $GKE_ZONE --project $GKE_PROJECT
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue