Skip to content
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

when trying to push to azure registry, I have to manually run az acr login from the command line #177

Closed
chrmarti opened this issue Nov 20, 2017 · 8 comments

Comments

@chrmarti
Copy link

From @MaurGi on November 17, 2017 23:53

CLI tools - Release 0.3.0

My VS Code version:
image

Copied from original issue: microsoft/vscode-azurecli#26

@chrmarti
Copy link
Author

What would the expected behavior be? (I think the registry has a separate username and password.)

@chrmarti
Copy link
Author

From @MaurGi on November 20, 2017 16:30

Sorry this bug is poorly written, I was in a rush - my expectation is to prompt for username and password, like it does for DockerHub - if you select DockerHub under registries, you are prompted for a username:
image
The same is not true if you select Azure as registry -

thx

@chrmarti
Copy link
Author

Got it, are you using the Docker extension? This might be a request going to that extension.

@chrmarti
Copy link
Author

From @MaurGi on November 20, 2017 18:46

I am -
I have Docker extension version 0.0.22 - thx.

@chrisdias
Copy link
Member

The extension simply shells out to docker push which is why you need a separate login. ideally we can do a push through the API so that we don't have to shell to the docker cli. that would be the "fix" here.

@MaurGi
Copy link

MaurGi commented Nov 27, 2017

Thanks for the reply!
All I am saying is that when you use Docker registry you are prompted with username and password, while when you use Azure registry you are not, you have to know that you need to manually do an az acr login to be able to use it -

@PrashanthCorp
Copy link
Contributor

Let's investigate this to check if it's a dupe.

@PrashanthCorp PrashanthCorp added this to the 0.7.0 milestone Mar 6, 2019
@vscodebot
Copy link

vscodebot bot commented Mar 28, 2019

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Mar 28, 2019
@ejizba ejizba removed this from the 0.7.0 milestone May 8, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators May 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants