Help us shape the future of Go! Take the 2026 Go Developer Survey

registrygithub

package
v0.87.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package registrygithub provides the GitHub Container Registry (GHCR) provider.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New returns a new GHCRProvider.

Types

type GHCRProvider

type GHCRProvider struct {
	// contains filtered or unexported fields
}

GHCRProvider implements registry.RegistryProvider for GitHub Container Registry.

func (*GHCRProvider) Login

func (*GHCRProvider) Logout

func (*GHCRProvider) Name

func (g *GHCRProvider) Name() string

func (*GHCRProvider) Prune

Prune deletes package versions beyond retention.keep_latest via the GH API.

func (*GHCRProvider) Push

func (g *GHCRProvider) Push(ctx registry.Context, cfg registry.ProviderConfig, imageRef string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL