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.3 (latest)
Published
Jan 15, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
19 hours ago

Tools for package owners.