Skip to content

Commit

Permalink
use --project in gcloud command
Browse files Browse the repository at this point in the history
  • Loading branch information
radupopa2010 committed Jan 26, 2024
1 parent 6aefc77 commit aa00081
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion install-bundler/bundler/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,11 @@ echo ""

echo ""
echo "Getting config values from GCP secret ${GCP_PLAINTEXT_CONFIG_SECRET}"
# when gcloud commands are run in githubaction always specify --project because
# it has the highest level of precedence
GCP_SECRET_CONFIG_VALUE=$(gcloud secrets versions access latest \
--secret="${GCP_PLAINTEXT_CONFIG_SECRET}")
--secret="${GCP_PLAINTEXT_CONFIG_SECRET}"\
--project="${PROJECT_ID}")

if [[ -z "${GCP_SECRET_CONFIG_VALUE}" ]] ; then
msj=""
Expand Down

0 comments on commit aa00081

Please sign in to comment.