-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker images on GitHub Packages #75
Comments
GitHub seems to plan moving github packages to a more generic system currently in beta. When this is in place, it will be limited to 2GB of storage per organisation, it won't be enough to maintain old images. |
I'm not sure how to read their sentences actually. To me, "GitHub Packages usage is free for public packages" means that public repositories have unlimited storage resources, and that the given limits are for private repositories. Anyway:
|
You are right, it sounds like public images will not be restricted. If we already have image pushed to both the docker and github repository, it's already a big improvement! As zenodo is discussed in #78, all which remains is making sure that old images are preserved by making sure that there are downloaded at least once every few months. |
That is indeed a strategy (pulling from docker.hub images regularly); the other one I had in mind was to use github as primary registry, or as fallback registry whenever the image is not found on dockerhub (with a further fallback on zenodo). |
For now I added github as fallback and keep docker.hub as primary mirror; maybe in the future we'll better switch the ordering of mirrors, the time that the Docker feature stabilizes on github |
Given the coming DockerHub retention policy, we should improve the archiving of our images.
Besides ensuring that old images can still be built (issue #76), we can opt for mirrors for hosting the Docker images. And GitHub seems perfectly suited for that:
https://docs.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages
TODO
colomoto-docker
: support multiple registries, with fallback when no image is found.The text was updated successfully, but these errors were encountered: