-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Provide alternate image registry to dockerhub #3335
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days. |
Not stale |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days. |
Not stale |
I don't imagine we'll do this because we want to keep maintenance overhead small but maybe someone else could publish an unofficial one? |
I can't imagine it wouldn't be hard to do, GHCR is free and easy to push images to since you are already using GitHub workflows. There is no maintenance overhead since it's directly integrated into GitHub, plus you get a shiney "Packages" link on the side of the repo with a direct link to the image. Dockerhub is super stingy on Docker pull request limits, they are dropping out of popularity IMO. See: I already mirror your Dockerhub image over at this repo, but this is a stop-gap until maintainers can support a non-rate-limted Docker registry. <3 |
What are your thoughts @code-asher ? |
I like the idea especially since it is integrated into GitHub.
Can we just add two more tags using ghcr.io and that takes care of it?
https://github.com/coder/code-server/blob/cd78f32dc06f7f3ea518872df314b72f3cfafacd/ci/release-image/docker-bake.hcl#L16-L17
And maybe we have to use `docker/login-action` to log into ghcr.io as
well. So basically a copy of this block:
https://github.com/coder/code-server/blob/cd78f32dc06f7f3ea518872df314b72f3cfafacd/.github/workflows/docker.yaml#L32-L36
Except with:
```
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
```
I am not sure though, this is mostly just a guess.
|
That looks exactly like what needs to be done, though I am not familiar with the HCL fun going on there 😄 |
Oh nice @code-asher! Okay @onedr0p if you want to do this, go for it. Otherwise, I'll add this for June 2022 when the time comes! |
Done #5187 |
Hello,
In order to combat dockerhub's imposed rate limits it would be great to host these images on ghcr or quay.io. Are there on any thoughts from the community on this initiation?
The text was updated successfully, but these errors were encountered: