- 
                Notifications
    You must be signed in to change notification settings 
- Fork 14
Description
Hello, I'm currently experimenting with Devtron and utilizing Goharbor as a private Docker repository. However, I encountered an issue where the following line triggers an error: repository/tag: invalid reference format. This occurs because the line generates an invalid Docker tag containing a / character.
Example log: 2023/12/20 15:38:38  -----> docker tag myharbor.domain.com/library/test-node:latest /myharbor.domain.com/library/test-node:042d04e7-1-17
Example error: Error parsing reference: "/myharbor.domain.com/library/test-node:042d04e7-1-17" is not a valid repository/tag: invalid reference format
The error is caused by the following line of code:
https://github.com/devtron-labs/ci-runner/blob/560e68675d2722d58ab2f63edaaf8a890ff04c1b/helper/DockerHelper.go#L541C31-L541C31
The specific issue arises from the use of the /
u.Path = path.Join(u.Path, "/", ciRequest.DockerRepository)