mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 14:55:50 +00:00
fix secret call
This commit is contained in:
parent
310688f419
commit
7b573c145e
1 changed files with 2 additions and 2 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -8,9 +8,9 @@ jobs:
|
||||||
container: cedricguadalupe/terraform-gcloud
|
container: cedricguadalupe/terraform-gcloud
|
||||||
steps:
|
steps:
|
||||||
- name: Set GCP project
|
- name: Set GCP project
|
||||||
run: gcloud config set project $PROJECT_ID
|
run: gcloud config set project ${{ secrets.PROJECT_ID }}
|
||||||
- name: Setup GCP authentication
|
- name: Setup GCP authentication
|
||||||
run: echo "$BASE64_ENV_VAR" | base64 --decode > output_file.txt
|
run: echo "${{ secrets.BASE64_ENV_VAR }}" | base64 --decode > output_file.txt
|
||||||
- run: gcloud auth activate-service-account --key-file output_file.txt
|
- run: gcloud auth activate-service-account --key-file output_file.txt
|
||||||
- name: Initiate Terraform
|
- name: Initiate Terraform
|
||||||
run: terraform init
|
run: terraform init
|
||||||
|
|
Loading…
Reference in a new issue