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.10.0
Published
Jun 21, 2022
Platform
js/wasm
Imports
3 packages
Last checked
2 hours ago

Tools for package owners.