Description
When using ghcr.io as a container registry, it's pretty common to publish the Docker image for a project like https://github.com/owner/repo to ghcr.io/owner/repo.
In this case, it's pretty easy to do this:
meta-images: ghcr.io/${{ github.repository }}
The problem is, it doesn't work when the owner or the repository are uppercase.
There is an upstream issue docker/build-push-action#37 where a few working workarounds have been provided involving an additional workflow step (since GitHub doesn't have a lowercase function in builtin workflow syntax).
Since this project is not an action but a custom workflow, we can't add an additional step into it.
See for exemple the failure caused by migrating to docker/github-builder here AFCMS/fluorite#41
Description
When using
ghcr.ioas a container registry, it's pretty common to publish the Docker image for a project likehttps://github.com/owner/repotoghcr.io/owner/repo.In this case, it's pretty easy to do this:
The problem is, it doesn't work when the owner or the repository are uppercase.
There is an upstream issue docker/build-push-action#37 where a few working workarounds have been provided involving an additional workflow step (since GitHub doesn't have a lowercase function in builtin workflow syntax).
Since this project is not an action but a custom workflow, we can't add an additional step into it.
See for exemple the failure caused by migrating to
docker/github-builderhere AFCMS/fluorite#41