Enable CI to work with registry on fork-based PRs
PaaS and framework that replace or compete with AWS, VMware
Brought to you by:
cozystack
Originally created by: NickVolynkin
Fork-based PRs cannot push images to ghcr.io during build, even for testing purposes.
Do we want to enable it?
Originally posted by: xy2
I have a separate single-node k8s that only runs 5 docker-registry pods in cache mirror mode for the most popular public registries. It's more persistent than other test clusters, so each new fresh cluster gets its images ready immediately. It is also possible to do that with pure docker with an even smaller memory footprint.
I do not recommend running a cache registry inside the target test cluster. Here are some disadvantages:
The same registry could be used to push temporary build artifacts (container images in our case), and the whole thing could be just dropped and recreated from scratch when disk is full.
docker-mirror-chart.tar.gz