GitHub packages naming collision

Hey all,

We have 2 repos within the same org using GitHub packages.

Since it’s mandatory to prefix the images with the repo identifier, why is it not possible to have 2 images with the same name?

E.g., owner/repo1/alpine and owner/repo2/alpine

This was the error:

blob upload invalid: Package "alpine" is already associated with another repository.

Packages are defined at the repository level but associated with a user/organization. Because of this, the package name (and version) is reserved at the user/organization level and can never be re-used.

This is something that should perhaps be a little bit better documented. It is briefly mentioned in the third paragraph in “about published packages”.