Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi, while running the master branch locally, I realized that my change in #1085 actually broke
CI_REGISTRY_IMAGE
. The reason is that the full string gets lowercased (i.e. something like$ci_registry/some/lowercased/path
), which means$CI_REGISTRY
does not get resolved (because the variable name was lowercased) 馃槄 . Thats what I get for not testing properly 馃う .I have added some tests now to make sure the behaviour is correct now (incidentally, I checked the gitlab source code and it seems they only lowercase the path, not the host, so this code matches the upstream behaviour more closely).
While writing the test I realized that
CI_PROJECT_PATH_SLUG
also needs to be lowercased to match the upstream behaviour.Sorry for the trouble 馃槗