We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 204e563 commit e90434dCopy full SHA for e90434d
1 file changed
startupscript/butane/gcp/docker-auth.sh
@@ -56,7 +56,7 @@ LOCATIONS=$(echo -e "${LOCATIONS}\n${DEFAULT_REGIONS_NEWLINE}" | sort -u)
56
echo "Getting access token..." >&2
57
58
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":")[^"]*')
+ACCESS=$(echo "${TOKEN}" | grep -oP '(?<="access_token":")[^"]*')
60
61
# Login to each registry
62
echo "Logging into artifact registries..." >&2
0 commit comments