Skip to content

Github Actions: Repository name must be lowercase #27086

Discussion options

You must be logged in to vote

Image names must be lower case, try using the lower case version of your username. You can create an environment variable with the lower case version, so you don’t have to hardcode it. Looking at your workflow I guess github.repository_owner is the issue, so you could do this:

- name: set lower case owner name
  run: |
    echo "OWNER_LC=${OWNER,,}" >>${GITHUB_ENV}
  env:
    OWNER: '${{ github.repository_owner }}'

And then use the OWNER_LC environment variable instead of github.repository_owner.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
4 participants