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

Ko does not work on azurecr #137

Closed
n3wscott opened this issue Feb 25, 2020 · 0 comments · Fixed by #138
Closed

Ko does not work on azurecr #137

n3wscott opened this issue Feb 25, 2020 · 0 comments · Fixed by #138

Comments

@n3wscott
Copy link
Contributor

I am trying to use ko with azurecr.io. My registry is n3wscott.azurecr.io.

Say, I have an image: n3wscott.azurecr.io/foo:latest

I can docker push to this fine.

I try to build and push with ko and I get a 401 error on the push step.

It looks like if I add a path to my cr uri it works: KO_DOCKER_REPO=n3wscott.azurecr.io/x ko ...

Now ko works correctly and pushes to n3wscott.azurecr.io/x/foo:latest which is not exactly what I want and not how the azurecr docs tell you to setup the docker repo.

Likely an issue with this PR: #117

cc: @jonjohnsonjr

jonjohnsonjr added a commit to jonjohnsonjr/ko that referenced this issue Feb 25, 2020
jonjohnsonjr added a commit that referenced this issue Feb 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant