CI fails when trying to boot up docker when there are uppercase letters in the organization of the repo (I assume the same issue will happen if the repo has uppercase letters as well) with this error:
docker: invalid reference format: repository name must be lowercase.
See 'docker run --help'.
Error: The process '/usr/bin/docker' failed with exit code 125
How to reproduce
Have uppercase letters in either your repository name or organization name and try using this action in your GitHub workflow.
Example: I have an organization of TEST and a repository of my-repository. GitHub stores it like so in an environment variable GITHUB_REPOSITORY=TEST/my-repository. This causes CI to fail due to the repository name not being lowercase.
Expected behavior
Casing of the organization or repository name should not matter and the docker container should boot up properly.
Additional details
Removed some sensitive info, but this is the whole GitHub job output log:
Bug description
CI fails when trying to boot up docker when there are uppercase letters in the organization of the repo (I assume the same issue will happen if the repo has uppercase letters as well) with this error:
How to reproduce
Have uppercase letters in either your
repository name
ororganization name
and try using this action in your GitHub workflow.Example: I have an organization of
TEST
and a repository ofmy-repository
. GitHub stores it like so in an environment variableGITHUB_REPOSITORY=TEST/my-repository
. This causes CI to fail due to the repository name not being lowercase.Casing of the organization or repository name should not matter and the docker container should boot up properly.
Additional details
Removed some sensitive info, but this is the whole GitHub job output log: