Skip to content
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

Enable publishing to ghcr.io (Github container registry) #2215

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dbast
Copy link

@dbast dbast commented Apr 21, 2021

Dockerhub got unfortunately rate limited regarding pulling containers.

By publishing to the Github container registry (can be found here https://github.com/koalaman?tab=packages) that rate limit can be avoided and makes pipelines using shellcheck via Docker more reliable.

Merging this requires adding a token called GITHUB_GHCR_TOKEN (with the capability to push containers) to the repo secrets.

@dbast
Copy link
Author

dbast commented Jun 8, 2021

Ran into this several time, but seems like there is not much interest in this... can close the PR in that case.

@koalaman
Copy link
Owner

Sorry, I have very little context for this. Can it simply push the same image instead of building a second one? Seems like that would be faster and easier to maintain.

@felipecrs
Copy link
Contributor

@koalaman docker stores cache for the images built. The second built with a different tag will be almost instantaneous.

@unguiculus
Copy link

BuildKit supports specifying multiple tags. You can build and push to multiple registries with one command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants