Skip to content

Provide a way to lowercase meta-images values #163

@AFCMS

Description

@AFCMS

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions