mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 06:45:50 +00:00
fix cred path
This commit is contained in:
parent
d872959952
commit
633dfb981c
1 changed files with 2 additions and 2 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -5,13 +5,13 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
terraform-test:
|
terraform-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: cedricguadalupe/terraform-gcloud
|
container: hashicorp/terraform:1.9.8
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- 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: export GOOGLE_APPLICATION_CREDENTIALS=output_file.txt
|
- run: export GOOGLE_APPLICATION_CREDENTIALS=$(pwd)/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