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
100 stars 33 forks source link

[BUG] Uppercase letters in username will cause transport error when uploading container #67

Open TrevorDecker opened 2 years ago

TrevorDecker commented 2 years ago

Version

redhat-actions/push-to-registry@v2

Describe the bug

If a user has uppercase letters in their github username they will get a transport error when uploading containers to ghcr

A copy of the error occurs here https://github.com/TrevorDecker/push-to-registry/runs/7242515507?check_suite_focus=true#step:5:57

changing

IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }} to IMAGE_REGISTRY: ghcr.io/trevordecker fixes the problem

Steps to reproduce, workflow links, screenshots

MadSpindel commented 1 year ago

Oh snap, I can confirm this. Thank you @TrevorDecker for this info.