parameterize s3

pull/479/head
Frostebite 2023-01-19 16:23:48 +00:00
parent 3acc3b9a07
commit 323452e78e
1 changed files with 7 additions and 1 deletions

View File

@ -52,9 +52,15 @@ jobs:
- uses: google-github-actions/auth@v1
with:
credentials_json: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_KEY }}
- run: sudo apt-get install google-cloud-sdk-gke-gcloud-auth-plugin
- 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
run: gcloud container clusters get-credentials $GKE_CLUSTER --zone $GKE_ZONE --project $GKE_PROJECT
with:
use_auth_provider: true
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with: