redhat-actions / buildah-build

GitHub Action to use 'buildah' to build a container image.
https://github.com/marketplace/actions/buildah-build
MIT License
137 stars 35 forks source link

[FEATURE] Normalize Image and Tag Name with Lowercasing #89

Closed xee5ch closed 2 years ago

xee5ch commented 2 years ago

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

Describe the solution you'd like

As a developer using buildah and podman in RedHat's GitHub Actions, I would like the actions to lowercase the image name and tag name, as required by registry specifications, lest the images and tags will be rejected. Unlike CLI operation, GitHub Actions that store images in GitHub Container Registry can and will reference image names from org and repo names with capital letters, so using this action with or independently without the push-to-registry will cause problems.

See redhat-actions/push-to-registry#56 for more details. I will draft a PR to provide similar functionality in this action, as the lack of that feature blocks integration testing and practical use.

Describe alternatives you've considered

See comments in redhat-actions/push-to-registry#56.