redhat-actions / push-to-registry

GitHub Action to push a container image to an image registry.
https://github.com/marketplace/actions/push-to-registry
MIT License
97 stars 32 forks source link

Normalize registry before creating path to destination images #91

Open EyeCantCU opened 9 months ago

EyeCantCU commented 9 months ago

Description

Ensures usernames in the registry path are always lowercase. This fixes an issue where user's with uppercase letters in their username can't push to container registries

Related Issue(s)

Resolves: https://github.com/redhat-actions/push-to-registry/issues/67

Checklist

Changes made

andreyrd commented 1 week ago

Can this get merged?:) Figured out why my new pipeline was failing...

Edit: The easiest solution is to manually put the lowercase version of your username into the workflow file, but this would help new users not run into the same issue.