You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting an error message undefined TypeError: Cannot read properties of undefined (reading 'split') when I try to add the plugin semantic-release-docker-gitlab-ci. The error is getting thrown from semantic-release-docker-gitlab-ci/src/verify.js:35:1 Not sure what I am doing wrong. Here is my config files:
I have just been able to reproduce this. It relates to the project name (or groups) including uppercase letters. While the gitlab repository path can contain uppercase letters (eg. [email protected]/group/Foo-Service), the gitlab registry can not (the equivalent created by gitlab will be registry.gitlab.com/group/foo-service). https://github.com/kaibloecker/semantic-release-docker-gitlab-ci/blob/main/src/auth.js#L34 does not take this into account (PROJECT_PATH needs to be .toLowerCase()'ed).
@Dextererials as a manual workaround: You have to ensure that the repository path is lower case. You sadly can not just change the path, since gitlab considers the underlying registry path as already taken. Therefore you have the change the repository path twice: Eg. first to gitlab.com/group/foo-service-2 and then to gitlab.com/group/foo-service
@kaibloecker would you accept a patch that lower cases PROJECT_PATH?
I am getting an error message
undefined TypeError: Cannot read properties of undefined (reading 'split')
when I try to add the pluginsemantic-release-docker-gitlab-ci
. The error is getting thrown fromsemantic-release-docker-gitlab-ci/src/verify.js:35:1
Not sure what I am doing wrong. Here is my config files:The text was updated successfully, but these errors were encountered: