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

[FEATURE] Automatically lowercase registry input #44

Open
strugee opened this issue Oct 1, 2024 · 0 comments
Open

[FEATURE] Automatically lowercase registry input #44

strugee opened this issue Oct 1, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@strugee
Copy link

strugee commented Oct 1, 2024

Is your feature request related to a problem? Please describe.

If your GitHub organization name includes uppercase characters and you try to log into GitHub Container Registry, podman login errors out:

Error: parse reference from "ghcr.io/<org name>": invalid reference format: repository name must be lowercase

This is annoying to fix without introducing a new action literally just to lowercase this string.

Describe the solution you'd like

The action should automatically lowercase the registry input, because it's basically never going to be valid for this to include capital letters due to Docker image naming restrictions - I think. Someone should confirm for sure.

Describe alternatives you've considered

A boolean lowercase_registry parameter that does exactly what it sounds like.

Additional context

@strugee strugee added the enhancement New feature or request label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant