package github

import "github.com/google/go-containerregistry/pkg/authn/github"

Package github provides a keychain for the GitHub Container Registry.

Index

Variables

var Keychain authn.Keychain = githubKeychain{}

Keychain exports an instance of the GitHub Keychain.

This keychain matches on requests for ghcr.io and provides the value of the environment variable $GITHUB_TOKEN, if it's set.

Source Files

keychain.go

Version
v0.20.5 (latest)
Published
May 21, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
1 hour ago

Tools for package owners.