Retagging Artifacts doesn't work for same project/repository
Expected behavior and actual behavior:
As stated in the documentation here, it should be possible to copy a tag to another within the same project and repository, e.g from release/app:stg to release/app:prd.
But when trying to do this, the following error message appears:
A repository name is broken up into path components. A component of a repository name must be at least one lowercase, alpha-numeric characters, optionally separated by periods, dashes or underscores. More strictly, it must match the regular expression [a-z0-9]+(?:[._-][a-z0-9]+)*.If a repository name has two or more path components, they must be separated by a forward slash ('/').The total length of a repository name, including slashes, must be less the 256 characters.
Steps to reproduce the problem:
Select an artifact from repositories view, go to Actions menu, then Copy. Fill the project and set the full imagem name, with the tag, ex cdms/arquivo/frontend-arquivo:prd
Versions:
- harbor version: v2.13.1-9384ed0e
the cdms/arquivo/frontend-arquivio:prd is the full image name, the input requires repository name, such as frontend-arquivio, if you need to rename the tag, you should create a new tag for the copied artifact.
Thanks for the reply @stonezdj, but the documentation says that in the "Retagging Artifacts" feature it is possible to copy from "release/app:stg" to "release/app:prd". How do I do this?
This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.
Still relevant