Docker registry errors due to env variables having upper case characters...
Answered
Hi,
I have inherited a system where many of the enviromental variables are in uppercase and such.
When I try to push a new docker image it of course complains about uppercase letters in the image name and tag.
Is there a means for me to force them to lowercase without changing the current settings and etc?
As you can see in the error below I tried $ToLower.. lol, no luck of course as I know it was not supported, but gotta try anyway.. any suggestions?
[Step 5/9] invalid argument "$ToLower(FMS3G_Software" for "-t, --tag" flag: invalid reference format: repository name must be lowercase

Please sign in to leave a comment.
Hi Warren,
You cannot write a script in this field. You will need either to push images with a command-line script where you lower the case of those values or alter the parameters' values with a script in a build step before the step where you push the image. You can use service messages to do so.