-
Notifications
You must be signed in to change notification settings - Fork 173
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
Inconsistent auth keys on macOS, Windows, Linux #256
Comments
What CLI or SDK versions are you using for |
@shizhMSFT I think this would have been the latest CLI as of the date of the posting - 20.10.x? - that ships with Docker Desktop for those platforms. Regardless, for oras-credentials-go, we should expect to need to handle https:// and non-https:// output. |
Hm.. I recall some change that was made (long time ago), which seems like that may be related; |
Looks like there's a related ticket with some discussion in the cli repository (and links to related changes). I'd have to dig up the full history of some of that 😞 (I do know there's quite some confusing code paths in this area related to backward compatibility, but perhaps some of that is no longer needed). |
I've tested using my M1 mac (docker desktop off the topic: the goal of |
Steps to reproduce
In Go:
Via CLI:
Expected behavior
Auth configuration entries should be consistent across platforms, the push succeeds if the authentication is valid and present.
Actual behavior
On some platforms, all auth entries are prefixed with a scheme (
https://
), on others, only the legacy Docker registry server configuration is.The text was updated successfully, but these errors were encountered: