shellcheck icon indicating copy to clipboard operation
shellcheck copied to clipboard

Enable publishing to ghcr.io (Github container registry)

Open dbast opened this issue 3 years ago • 4 comments

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 avatar Apr 21 '21 17:04 dbast

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

dbast avatar Jun 08 '21 15:06 dbast

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.

koalaman avatar Jul 18 '21 22:07 koalaman

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

felipecrs avatar Aug 31 '22 02:08 felipecrs

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

unguiculus avatar Nov 14 '22 07:11 unguiculus