mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 06:45:50 +00:00
fix gcp auth
This commit is contained in:
parent
ec4ff19bfa
commit
d872959952
1 changed files with 1 additions and 3 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -9,11 +9,9 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Set GCP project
|
|
||||||
run: gcloud config set project ${{ secrets.PROJECT_ID }}
|
|
||||||
- name: Setup GCP authentication
|
- name: Setup GCP authentication
|
||||||
run: echo "${{ secrets.GCP_JSON }}" | base64 -d > output_file.txt
|
run: echo "${{ secrets.GCP_JSON }}" | base64 -d > output_file.txt
|
||||||
- run: GOOGLE_APPLICATION_CREDENTIALS=output_file.txt
|
- run: export GOOGLE_APPLICATION_CREDENTIALS=output_file.txt
|
||||||
- name: Initiate Terraform
|
- name: Initiate Terraform
|
||||||
run: terraform -chdir=terraform init
|
run: terraform -chdir=terraform init
|
||||||
- name: Dry run Terraform
|
- name: Dry run Terraform
|
||||||
|
|
Loading…
Reference in a new issue