I am trying out the new V2 build step with registry tagging support and following the examples in the docs (Bootstrap · Content moved). Example from docs:
We have investigated this. Apparently there are some docker registries that accept tags with capital letters and some do not. Your registry seems to be the latter.
You can use instead the variable CF_BRANCH_TAG_NORMALIZED_LOWER_CASE to make sure that the final result is compliant with your registry.
Just to be on the safe side, I also updated the docs to use the lower case variable instead of the CF_BRANCH_TAG_NORMALIZED variable (which will not tamper with case)
This has nothing to do with capitalization. The problem is that CF_BRANCH_TAG_NORMALIZED behavior has changed in the V2 of the build step. In other places the value of that variable removes any offending characters like /, which is the cause of my error. As it is right now, there is no difference between CF_BRANCH_TAG_NORMALIZED and CF_BRANCH.
I can use CF_BRANCH_TAG_NORMALIZED without error in push image steps and other places. It is only in the new v2 build step that it is not normalizing the branch name.
Nothing was changed in the value of CF_BRANCH_TAG_NORMALIZED env var when moving to build V2.
Can you please share link to the build/s that shows this behavior of both the build and the push steps so we can check and better understand the issue you are having?