Skip to content

Go library providing high-level Notary API for go-containerregistry.

License

Notifications You must be signed in to change notification settings

autonomic-ai/notary-gcr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

notary-gcr

Go library providing high-level Notary API for go-containerregistry.

Usage

import "github.com/autonomic-ai/notary-gcr/pkg/gcr"

Construct a new Trusted GCR Repository, then use the various action support by the Repository. For example:

auth := &authn.Basic{...}
ref, _ := name.ParseReference("docker-registry.com/foo/image:latest", name.WeakValidation)

trustedRepo, _ := gcr.NewTrustedGcrRepository("~/.notary", ref, auth)

Limitation

Since google/go-containerregistry does not support token authentication yet, so if your notary server enable auth, this library may not work.

About

Go library providing high-level Notary API for go-containerregistry.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 97.2%
  • Makefile 2.7%
  • Shell 0.1%