GHCR
Save GitHub Container Registry as a registry with a personal access token.
Add GitHub Container Registry (ghcr.io) so applications can pull and push images with saved credentials.
Before you start
- A GitHub account.
Connect
Open https://github.com/settings/tokens and choose Generate Token (Classic).
Enter a note such as github_token, select the write:packages scope, and click Create. Copy the token.
In the panel, open Integrations › Registries and click Add registry. Enter a Registry name and your GitHub Username. Paste the token as the Password. Your account password also works, but a token is safer.
Set Registry URL to ghcr.io.
Cluster setups only: set an Image prefix.
Click Test registry, then Create.
Use it
Select the registry when an application or cluster needs to push or pull images. See Registries for the shared settings.
Limits
The write:packages scope covers pushing images. Image names take the form ghcr.io/username/repository:tag.
