Skip to content

Commit 0ba941f

Browse files
committed
CI: bash lint fixes
1 parent 8deac5c commit 0ba941f

File tree

1 file changed

+5
-5
lines changed
  • ci/tasks/collect-gcp-image

1 file changed

+5
-5
lines changed

ci/tasks/collect-gcp-image/run

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
set -eo pipefail
44

5-
ACCOUNT_EMAIL=$(echo $ACCOUNT_JSON | jq -r .client_email)
6-
PROJECT_ID=$(echo $ACCOUNT_JSON | jq -r .project_id)
5+
ACCOUNT_EMAIL=$(echo "${ACCOUNT_JSON}" | jq -r .client_email)
6+
PROJECT_ID=$(echo "${ACCOUNT_JSON}" | jq -r .project_id)
77

8-
echo "$ACCOUNT_JSON" > /tmp/account_json
9-
gcloud auth activate-service-account --quiet $ACCOUNT_EMAIL --key-file /tmp/account_json
10-
gcloud config set project $PROJECT_ID
8+
echo "${ACCOUNT_JSON}" > /tmp/account_json
9+
gcloud auth activate-service-account --quiet "${ACCOUNT_EMAIL}" --key-file /tmp/account_json
10+
gcloud config set project "${PROJECT_ID}"
1111

1212
set -x
1313

0 commit comments

Comments
 (0)