Merge pull request #12576 from thomvaill/fix-vendor-install-private-registry-token

Take `$HOMEBREW_DOCKER_REGISTRY_TOKEN` into account when installing portable-ruby
This commit is contained in:
Mike McQuaid 2021-12-17 14:27:54 +00:00 committed by GitHub
commit d3252ec2a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}" ]]