-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: re-add support for custom registries with auth #397
Conversation
if (username || password) { | ||
headers = { | ||
...headers, | ||
authorization: `Bearer ${Buffer.from(`${username}:${password}`).toString(`base64`)}`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without testing it but I think that should be Basic
instead of Bearer
when using username and password. 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, thankfully it's already fixed on main
: #454
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh sorry. Okay the fix seems not the be released yet, that might explain why it's not working. Sorry for bothering you.
An attempt to fix #275. We'd probably need separate env variable as suggested in the issue.
Blocked by #396.