woodpecker-ci / woodpecker

Woodpecker is a simple yet powerful CI/CD engine with great extensibility.
https://woodpecker-ci.org
Apache License 2.0
3.94k stars 352 forks source link

Use own registry at woodpecker-ci.org as default instead of docker-hub #1638

Closed 6543 closed 11 months ago

6543 commented 1 year ago

https://www.docker.com/blog/we-apologize-we-did-a-terrible-job-announcing-the-end-of-docker-free-teams/
https://blog.alexellis.io/docker-is-deleting-open-source-images/
https://floss.social/@WoodpeckerCI/110037675573321221

6543 commented 1 year ago

Steps to do:

  1. migrate from organization into Single Account on Docker Hub
  2. Push to alternative registries
  3. make alternative registries default one
6543 commented 1 year ago

namespace calmed at https://quay.io/organization/woodpeckerci

jolheiser commented 1 year ago

Have we tried applying for the open source program? I agree with moving away, but just wondering if there's a good way to mitigate issues in the interim.

6543 commented 1 year ago

yes last year already as I'd also would like to have seen the lable "official" but they never agreed so ... we are an open source project, but not by there definition :laughing:

6543 commented 1 year ago

I also like the idea of having a own registry directly serving from our woodpecker-ci.org domain ... but that needs good planing ... and we don't have any idea how much traffic that will be

mscherer commented 1 year ago

Something that might be helpful is https://httptoolkit.com/blog/docker-image-registry-facade/

(even if, as I found it, it break with podman).

eriol commented 1 year ago

@6543 if in the step 2 you mean to use more than one registry maybe pushing images also on codeberg could be a way to go.

mscherer commented 1 year ago

@eriol But codeberg is funded by volunteers, I do not think that would be fair to go there without knowing if 1) they can absord 2) how much the project would use.

Having a local redirection server can help getting educated guess for point 2, thus helping point 1. If there is 100 hits per day on a image, we can estimate how much bandwidth is used (at least a upper bound).

I have also seen some projects using Scarf, a SaaS that provides stats, and maybe network ones (in which case, running it for 2 or 3 months could give a more precise estimate to be able to decide on self hosting and/or move ). It might be worth asking to project using it how was their experience.

Obviously, that's trading one SaaS (Docker) for another one (Scarf), hence why I think it could be a temporary setup to have data to decide.

lafriks commented 1 year ago

yes last year already as I'd also would like to have seen the lable "official" but they never agreed so ... we are an open source project, but not by there definition :laughing:

Maybe could try again?

mscherer commented 1 year ago

So docker changed plan: https://www.docker.com/blog/no-longer-sunsetting-the-free-team-plan/

I guess that make it less urgent to move out, and let time to explore @6543 idea of having a registry.

6543 commented 1 year ago

image

but I still think we should go down the route to host our images on our own as defautl images and only push them to other registrys second?