We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa1f816 commit aa676ccCopy full SHA for aa676cc
1 file changed
startupscript/butane/gcp/docker-auth.sh
@@ -67,7 +67,7 @@ echo "Logging into artifact registries..." >&2
67
echo "$LOCATIONS" | while read -r location; do
68
[ -z "$location" ] && continue
69
echo " Logging into: ${location}-docker.pkg.dev" >&2
70
- docker login -u oauth2accesstoken -p "${ACCESS}" "https://${location}-docker.pkg.dev" > /dev/null 2>&1
+ echo "${ACCESS}" | docker login -u oauth2accesstoken --password-stdin "https://${location}-docker.pkg.dev"
71
done
72
73
# Re-enable xtrace
0 commit comments