GHCR support
See original GitHub issueAs GitHub docs say:
The GitHub Packages Docker registry will be superseded by GitHub Container Registry.
There is migration guide.
I tried to add registry: ghcr.io
in Docker Hub config but got:
Error response from daemon: Get https://ghcr.io/v2/: denied
It would be great to find out what migration steps for build-push-action
are too!
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Working with the Container registry - GitHub Docs
To authenticate to the Container registry ( ghcr.io ) within a GitHub Actions workflow, ... Some GitHub Packages registries support granular permissions.
Read more >Docker Support for the New GitHub Container Registry
Found at ghcr.io , the new GitHub registry adds support for anonymous pulls and decouples git repositories permissions from container ...
Read more >GitHub Packages Container registry is generally available
Clean starter workflows to publish directly to Container registry at ghcr.io. A new home for your Docker containers. As a part of Container ......
Read more >Checking in on GitHub Container Registry - Atomist Blog
GitHub recently transitioned its support for container images from its original offering called Docker registry to a new one called GitHub ...
Read more >The Ultimate Manual for GitHub Container Registry - Nira
Using the CLI for your container type, sign in to the Container registry service at ghcr.io. $ echo $CR_PAT | docker login ghcr.io...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you!
Here is my working sample of Github Actions
build-and-push.yaml
for GHCR that is based on WIP branch and works smoothly.Looking forward for stable v2!
I made it work according to the GHCR migration guide https://docs.github.com/en/packages/getting-started-with-github-container-registry/migrating-to-github-container-registry-for-docker-images#updating-your-github-actions-workflow
The useful part is, that
GITHUB_TOKEN
doesn’t work with ghcr.io, you have to use a Personal Access Token with registry scope: