I have an open-source repository at
https://github.com/baosystems/docker-dhis2 and am publishing container images to ghcr via GitHub Actions. The package URL is
https://github.com/orgs/baosystems/packages/container/package/dhis2. I have added
LABEL org.opencontainers.image.source back to the repository (I had to remove the full URL b/c my account is new) so as to link the repository “docker-dhis2” with the package “dhis2” (without prefix). I learned that the package URL returns a 404 when viewed by anyone not logged into GitHub.
Anonymous users are able to pull images with Docker; it just seems to be the package URL on GitHub that is the issue.
I tried to find some other examples using GitHub search and found one like mine (
https://github.com/MixusMinimax/angular-website/pkgs/container/angular-website) where it also returns 404 when not logged in, but then one that does show the package page (
As far as I can tell, all settings for the repository and packages are set to public. Help would be appreciated so we can publicize the container tags.