kubewarden / kwctl

Go-to CLI tool for Kubewarden users
https://kubewarden.io
Apache License 2.0
73 stars 15 forks source link

Azure ACR: Authorization not recognized after Docker Login #210

Closed floriankoch closed 2 years ago

floriankoch commented 2 years ago

Is there an existing issue for this?

Current Behavior

This is similar to https://github.com/kubewarden/kwctl/issues/208

Push does not works after Docker Login Push with wasm-to-oci works

kwctl push  annotated-policy.wasm registry://redacted.azurecr.io/polices/test:1
2022-04-28T13:03:04.416833Z  WARN rustls::check: Received a ServerHelloDone handshake message while expecting [CertificateRequest]    
Error: could not push policy: could not push policy: failed to authenticate: {"errors":[{"code":"UNAUTHORIZED","message":"authentication required, visit https://aka.ms/acr/authorization for more information."}]}

Expected Behavior

Push works

Steps To Reproduce

No response

Environment

- OS: Linux
- Architecture: amd64

Anything else?

No response

flavio commented 2 years ago

I'm not able to reproduce this issue.

These are the steps I took:

The push took place from my personal computer running Linux on x64_64

flavio commented 2 years ago

@floriankoch which version of kwctl are you using?

flavio commented 2 years ago

@kubewarden/kubewarden-developers : moving to "external block" on our project board, waiting for more feedback

flavio commented 2 years ago

Closing, feel free to reopen with you are still experiencing this issue. As I said, I cannot reproduce that.