Skip to content

Commit e90434d

Browse files
author
Yu Hu
committed
lint
1 parent 204e563 commit e90434d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

startupscript/butane/gcp/docker-auth.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ LOCATIONS=$(echo -e "${LOCATIONS}\n${DEFAULT_REGIONS_NEWLINE}" | sort -u)
5656
echo "Getting access token..." >&2
5757

5858
TOKEN=$(curl -s "http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/token" -H "Metadata-Flavor: Google")
59-
ACCESS=$(echo ${TOKEN} | grep -oP '(?<="access_token":")[^"]*')
59+
ACCESS=$(echo "${TOKEN}" | grep -oP '(?<="access_token":")[^"]*')
6060

6161
# Login to each registry
6262
echo "Logging into artifact registries..." >&2

0 commit comments

Comments
 (0)