convert lowercase repository name when composing BUILD_IMAGE tags#41628
Conversation
|
Why not modify Line 72? |
|
Documentation preview for this PR (built with commit ad70590; changes) is ready! 🎉 |
|
Would it be acceptable to change line 72 to use
|
I guess so. The path is not used outside of the action. Right? Or if we prefer |
|
It won't affect other parts. And I think it's a better way to solve them, without converting repo name to lowercase. |
|
we should rerun the workflow to see |
In
.github/workflows/build.yml, I added aNormalize Docker image namestep (in both affected jobs) that:GITHUB_REPOSITORYto lowercaseBUILD_IMAGEvalue to$GITHUB_ENVDocker image repository names must be lowercase. With usernames/orgs containing uppercase characters (for example
MingLLuo/sage),buildxfails with:invalid tag "...": repository name must be lowercaseThe similiar Issue also mentioned in #40581
📝 Checklist
⌛ Dependencies
X