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

crane auth login: fail to login to ECR with repository name attached #2035

Open
RaulWCosta opened this issue Nov 23, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@RaulWCosta
Copy link

Describe the bug

When I try to login into ECR using crane with the command crane auth login --username AWS --password-stdin 123456789.ecr.us-east-1.amazonaws.com/my_repository I get an error message Error: registries must be valid RFC 3986 URI authorities: 123456789.ecr.us-east-1.amazonaws.com/my_repository.

This might be more of a QoL feature than a bug fix :)

Expected behavior

I expect crane auth login to ignore the repository name, similarly to what docker login does.

Additional context

crane version -> 0.20.2
Registry used -> ECR

@RaulWCosta RaulWCosta added the bug Something isn't working label Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant