Tags: seba-ban/go-containerregistry
Tags
Propagate remote options through schema 1 copies (google#1007) The schema 1 copying code was very hacked together, but remote.Put simplifies things a bit. This extends some of the crane/gcrane options down through to legacy.CopySchema1.
Start to flesh out crane optimize. (google#879) * Start to flesh out crane optimize. This is a hidden command, which roundtrips a remote image to a target image through `tarball.LayerFromOpener(layer.Uncompressed)`. Right now this does nothing to force estargz (still need `GGCR_EXPERIMENT_ESTARGZ=1`) or prioritize files (need `estargz.WithPrioritizedFiles(foo)`), but want to start the convo. Fixes: google#878 * Add --prioritize flag to prioritize files * Fix headers, drop history * Drop unused variable * Add explicit option for estargz * Add a warning comment to crane.Optimize
Implement better user agent support (google#837) * Expose transport.NewUserAgent This allows you to supply a customer user agent string that will be prepended before the go-containerregistry portion. This uses go module build info to determine the version of go-containerregistry that you have pulled in, which will be included in the user agent as "go-containerregistry/${VERSION}". If we cannot get the version, this is just "go-containerregistry". * Expose remote.WithUserAgent * Expose crane.WithUserAgent * Supply useragent from crane CLI
Return basic auth from google.Keychain (google#791) Before, we were taking advantage of the fact that GCR will allow you to just send an access token as bearer auth, but apparently this breaks `gcrane cp` if it's your first push to a registry, so this change returns basic auth to force us to always do a token exchange.
add remote.Head (google#770) * add remote.Head this is useful for fetching a reference's digest/size/type via a HEAD request, which does not count towards Docker Hub image pull rate limits Signed-off-by: Alex Suraci <suraci.alex@gmail.com> * fix up modules Signed-off-by: Alex Suraci <suraci.alex@gmail.com>
Split tarball progress test from write_test.go (google#756) This example test reaches out to the internet, which isn't ideal. For now, I'm just going to split it off into a separate file so it's easier to exclude. Also, fix some whitespace nits.
PreviousNext