-
Notifications
You must be signed in to change notification settings - Fork 903
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
Stop using images from Docker Hub in CI #1667
Comments
@getsops/maintainers what do you think about creating another repository and pushing the images we need into that repository's package registry? (We could also push them into the package registry associated with this repository, but that doesn't look great. I've done that in another project and now it looks like the test images there are similar to release artifacts...) |
I would totally be fine with deprecating pushing to dockerhub and continue using ghcr instead. |
I don't mean the releases, just the Docker images we use in the CI tests: |
(I don't think we publish SOPS versions to Docker Hub anyway, from https://github.com/getsops/sops/blob/main/.goreleaser.yaml#L144-L257 it seems we publish images to GHCR and Quay.io. The GHCR images are here: https://github.com/getsops/sops/pkgs/container/sops and the Quay.io images are here: https://quay.io/repository/getsops/sops?tab=tags&tag=latest) |
Ah, sorry. I believe we can use the following instead? https://gallery.ecr.aws/nsmithuk/local-kms |
Well, that didn't help: I guess GHCR is our best bet. |
@felixfontein for images that are currently hosted on Docker Hub, would it make sense to add a sync job and source it from GHCR? |
@sabre1041 that's basically what I would do. I'd create a repository https://github.com/getsops/ci-container-images for that (or something like that) and set up a workflow there that does the mirroring and pushes the images to that repository's container registry. |
@felixfontein I've done something like that in the past. Take a look here. https://github.com/onedr0p/containers-mirror |
I created https://github.com/getsops/ci-container-images and set up basic mirroring for the images we need, and created #1722 to use them. |
Docker Hub's rate limits make CI fail from time to time, see for example https://github.com/getsops/sops/actions/runs/11560893288/attempts/1.
The text was updated successfully, but these errors were encountered: