Closed ghost closed 1 year ago
Your PRs solved this issue. Thanks again for your contribution :+1:
Note, the packages published on gns3-registry are private, that must be a organization setting that needs to be changed.
On "normal" (non-organization) Github accounts the packages are public, when the repository is public. So I have to change nothing, when I create packages with GitHub actions.
For organizations I hoped it works the same, but it seems it doesn't. So one time for every package you need to make it public and add the docker repository gns3-repository as its source. I've seen that's done, either by you or automatic by the GitHub action build.
One thing I can't check is the Actions access, within the package settings it must set to the gns3-registry, otherwise my build tools and/or docker build might have issues accessing it within the GitHub Actions. Please verify, that it look similar to this screenshot.
Note, the packages published on gns3-registry are private, that must be a organization setting that needs to be changed.
I haven't found a setting for this, so I fear that at least the public setting has to be done manually once for each new package. But as I'm not part of an organization I don't know what's available in the organization settings.
For organizations I hoped it works the same, but it seems it doesn't
I just had to have the settings changed for the GNS3 org.
Now everything is public by default: https://github.com/orgs/GNS3/packages?repo_name=gns3-registry
That's good to know, now the GitHub Container Registry ghcr.io should be ready to use. At least as a fallback, if anything happens to docker.com.
Just for reference:
On "normal" (non-organization) Github accounts the packages are public, when the repository is public.
That can be set in the account Settings / Packages. I assume, that if this option is disabled, new packages will be created as private.
The main idea is to publish multiple repositories to get some redundancy if one of them change their policy for hosting docker images.
I like to share my thoughts about modifying the build tool to support this.
skopeo
, which should be right tool for that.I am favoring option #1 and #4, but I am open for comments.