We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6aefc77 commit aa00081Copy full SHA for aa00081
1 file changed
install-bundler/bundler/install.sh
@@ -89,8 +89,11 @@ echo ""
89
90
echo ""
91
echo "Getting config values from GCP secret ${GCP_PLAINTEXT_CONFIG_SECRET}"
92
+# when gcloud commands are run in githubaction always specify --project because
93
+# it has the highest level of precedence
94
GCP_SECRET_CONFIG_VALUE=$(gcloud secrets versions access latest \
- --secret="${GCP_PLAINTEXT_CONFIG_SECRET}")
95
+ --secret="${GCP_PLAINTEXT_CONFIG_SECRET}"\
96
+ --project="${PROJECT_ID}")
97
98
if [[ -z "${GCP_SECRET_CONFIG_VALUE}" ]] ; then
99
msj=""
0 commit comments