#1795  Can't push container to builtin registry if project name is in upper case
Closed
Marat Bakeev opened 2 months ago

My project name is HWR-Systems and it has subprojects, for example - kube-backup.

I'm trying to push an image to builtin registry, but the CI step complains that uppercase is not allowed.

19:11:55 Running step "build and push image"... 19:11:55 error checking push permissions -- make sure you entered the correct tag name, and that you are authenticated correctly, and try again: getting tag for destination: repository can only contain the characters abcdefghijklmnopqrstuvwxyz0123456789_-./: HWR-Systems/kube-backup

If I set the registry to lowercase, of course it says that it doesn't have package management enabled.

Marat Bakeev changed state to 'Closed' 2 months ago
Previous Value Current Value
Open
Closed
Marat Bakeev commented 2 months ago

No, this was my mistake. Even if the project is named in uppercase, you can reference it in lowercase in your buildspec and it will work.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
Affected Versions
10.3.1
Labels
No labels
Issue Votes (0)
Watchers (3)
Reference
onedev/server#1795
Please wait...
Page is in error, reload to recover