...

Package github

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

Overview ▾

Package github provides a keychain for the GitHub Container Registry.

Index ▾

Package files

keychain.go

Variables

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.

var Keychain authn.Keychain = githubKeychain{}