diff --git a/Library/Homebrew/cmd/vendor-install.sh b/Library/Homebrew/cmd/vendor-install.sh index 4c76f8e856..1cda2e6a71 100644 --- a/Library/Homebrew/cmd/vendor-install.sh +++ b/Library/Homebrew/cmd/vendor-install.sh @@ -119,7 +119,7 @@ fetch() { --remote-time --location --user-agent "${HOMEBREW_USER_AGENT_CURL}" - --header "Authorization: Bearer QQ==" + --header "Authorization: Bearer ${HOMEBREW_DOCKER_REGISTRY_TOKEN:-QQ==}" ) if [[ -n "${HOMEBREW_QUIET}" ]]