Skip to content

Releases: google/go-containerregistry

v0.7.0

12 Nov 21:18
542cd56
Compare
Choose a tag to compare

Changelog

1830951 Add --set-base-image-annotations flag to crane append (#1098)
bea59b9 Add crane flatten (#1104)
5c9c442 Add pkg/registry/README.md documenting expectations (#1167)
dd86162 Add s390x arch to goreleaser (#1149)
8388fde Add temp codes when determining if an error is 'Temporary' (#1115)
6cb23fb Adding OS version to Crane for better Windows support. (#1173)
9ae11fe Allow image layers to use any custom media type (#1136)
d6bc6d5 Bump actions/stale from 3 to 4 (#1096)
a65a0a6 Bump codecov/codecov-action from 1 to 2.0.2 (#1095)
7e0ed51 Bump codecov/codecov-action from 2.0.2 to 2.0.3 (#1112)
40ba044 Bump codecov/codecov-action from 2.0.3 to 2.1.0 (#1125)
542cd56 Bump dependencies (#1175)
4580921 Bump docker/docker dependency to v20.10.10 (#1171)
c5dea0c Bump github.com/containerd/stargz-snapshotter/estargz (#1118)
230ff8e Bump github.com/containerd/stargz-snapshotter/estargz (#1138)
54c3445 Bump github.com/docker/cli (#1101)
d43a5ce Bump github.com/docker/cli (#1141)
be17d0a Bump github.com/docker/docker (#1100)
35e3541 Bump github.com/docker/docker (#1140)
f9a1886 Clean filepaths in mutate.Extract (#1106)
7a6ee45 Define a new remote.DefaultTransport. (#1165)
3cd0cb5 Do not forget CreatedBy in mutate.Canonical (#978)
5f2509c Document setup-crane in cmd/crane/README.md (#1152)
c71ca9b Don't reuse errgroups, propagate contexts better (#1128)
dd49079 Enable golangci-lint (#1162)
a0c4bd2 Enable some more golangci-lint checks, fix findings (#1164)
0dfbb56 Fix presubmit (#1161)
b0e827a Fix small typo in partial README for UncompressedImageCore (#1156)
080751a Give the ping context a timeout. (#1163)
de8aff8 Implement annotation-based rebase hints (#960)
0e8b581 Make mutate constructs immutable. (#1124)
e92a648 Make crane flatten work with indexes (#1105)
34b7f00 Make retrying transport and http errors configurable (#1122)
f337ecf Pass Options when recursively calling writeIndex (#1172)
b5cf9c4 Propagate crane options through gcrane cp -r (#1127)
2459de3 Re-enable codeql analysis (#1135)
e7cd6af Refactor the control flow for manifests and blobs. (#1157)
1781b9f Update dependabot.yml (#1084)
72ae53c Update go mod deps to latest releases, run go mod tidy and go mod vendor (#1139)
486e71f feat(daemon): avoid multiple initialization (#1126)
f0983da feat(daemon): lazy image saving (#1121)
bcbf8d3 feat: ability to set page size for tags list and catalog calls (#1102)
308547a pkg/authn/k8schain: run go mod tidy (#1131)
0de2b1e recipe: Document diffing filesystem contents (#1155)

Container Images

https://gcr.io/go-containerregistry/crane:v0.7.0
https://gcr.io/go-containerregistry/gcrane:v0.7.0

For example:

docker pull gcr.io/go-containerregistry/crane:v0.7.0
docker pull gcr.io/go-containerregistry/gcrane:v0.7.0

v0.6.0

30 Jul 17:26
092caf0
Compare
Choose a tag to compare

Changelog

9b2cec9 Add SECURITY.md (#1031)
a27f4a4 Add WithTransport to gcrane (#1022)
8b535fa Add auth options to gcrane (#1021)
b448aba Add crane recipe for listing files, add note about symlinks (#1072)
b69114f Add google.com host suffix to gcrane keychain (#1039)
4759a5d Add recipe to calculate image size (#1088)
6118d45 Add retry when commiting a manifest (#1041)
092caf0 Add static.NewLayer (#1093)
2f6fbf7 Allow mutate.Annotations to annotate an Image or ImageIndex (#1082)
68edb3a Avoid race in progress_test.go (#1081)
9e56ddd Avoid trying https for insecure registries (#1002)
a0b9468 Bump github.com/containerd/stargz-snapshotter/estargz (#1083)
2b9ddcd Bump github.com/spf13/cobra from 1.1.3 to 1.2.1 (#1070)
ce35c99 Create a k8schain directly from pull secrets (#1049)
628a2ff Document released images in release notes (#1069)
03f1bf4 Don't overwrite WithTransport option (#1077)
acad0ed Drop error return for mutate.Annotations (#1058)
e2daef5 Enable dependabot (#1052)
8395cdf Fix install instructions for crane (#1020)
0233fcd Fix typo in state GitHub Action (#1023)
596751a Handle multiple www-authenticate headers (#1075)
5f53e4e Implement crane.Head (#1057)
0ffa4a5 Include a commit with K8s 1.20 libs (#1027)
13e1a6b Only verify size if we can (#1080)
426caf7 Plumb context through crane and gcrane (#995)
eca1cd8 Reduce default catalog page size (#1092)
d9ecc49 Remove report card (#1035)
11f8769 Revert "Avoid trying https for insecure registries (#1002)" (#1048)
5455b5b Revert "export manifest for tar file (#1033)" (#1043)
5ea3569 Set Content-Type to application/octet-stream (#1079)
a3a06bb Straighten out remote.List{WithContext} (#1090)
162d96e Update dependencies (#1036)
45aaa6c Use Data field when fetching in remote (#1076)
de6223d Verify size in verify.ReadCloser (#1044)
fbb5e78 bump ggcr in gccr/k8schain what! (#1030)
529b437 ci: test/build with go 1.14/1.15/1.16 (#1051)
3bfd0b5 crane: ignore TLS certificate validation when using --insecure flag (#1054)
f0ce227 export manifest for tar file (#1033)
764823a export manifest from tar file (#1046)
92e9e85 feat(mutate): added support for overriding manifest annotations (#1056)
3bfab55 update to add that crane retains the digest (#1037)
c086c7f use K8s 1.20 libs
14e26bf use K8s 1.21 libs
100e16a use go1.16's module aware install vs tools.go (#1028)

Container Images

https://gcr.io/go-containerregistry/crane:v0.6.0
https://gcr.io/go-containerregistry/gcrane:v0.6.0

For example:

docker pull gcr.io/go-containerregistry/crane:v0.6.0
docker pull gcr.io/go-containerregistry/gcrane:v0.6.0

v0.5.1

17 May 23:10
c061b3f
Compare
Choose a tag to compare

Changelog

4c244d6 Add --fast flag to crane validate (#1013)
4cdd086 Break free from Knative actions (#1016)
13fba64 Fix RunE error handling (#1014)
c03201f Fix various lint issues (#1010)
21a2dc2 Re-exec gcloud token source when we refresh (#1017)
c061b3f Retry more errors in remote.Write (#1019)
9cf3ed4 Update actions (#1009)
6a2e261 Update actions (#1012)
4ffaf0b Update goreleaser config to include arm version (#1008)
f009e5f Update k8schain's k8s dependency to 0.21.0 (#1001)

v0.5.0

28 Apr 19:52
a58f1d5
Compare
Choose a tag to compare

Changelog

549ee62 Add --tarball to crane digest (#896)
d5f9e2c Add MustParseReference (#962)
5f2fda4 Add crane mutate to set labels and entrypoint (#982)
3a77edb Add crane recipes.md (#957)
70c58c0 Add lots of tests to pkg/crane (#970)
83f4080 Add presubmit workflow (#994)
7e30746 Add remote.Digest() to upload a manifest via digest (#980)
daa5add Add support for symbol link inside docker tar file (#987)
dff71aa Don't warn about fallback unless we need to (#996)
f37e4de Drop warning unless it's a problem (#992)
37467b5 Fix backward-incompat issues in daemon (#993)
93228a7 Fix bad layout options merge (#953)
5a37827 Fix gcrane top-level listing (#1005)
23990da Move all internal/ packages to a root internal/ (#983)
bccf3f1 Move omitempty to the right place (#954)
bea57ad MustParseReference only accepts consts (#964)
5d8559c Paginate google.List if it's not a google registry (#985)
a58f1d5 Propagate remote options through schema 1 copies (#1007)
2bd4a53 Refactor pkg/v1/daemon (#989)
233b2d3 Remove Travis badge (#955)
e4a81b2 Rename codecov.yml (#956)
591f202 Retry 408 errors (#981)
7b64627 Rework gcrane options (#986)
2f4c6f0 Support WithJobs in remote.Write (#958)
3678a26 Support WithProgress for remote Writes (#967)
0976a27 Tag crane/gcrane images with Git tag (#990)
14945a4 Thunk-ify layout options (#847)
71a6fe9 Update README.md
92afc74 Update common github actions (#947)
7cfaa51 Use cobra's RunE whenever possible (#988)
29b86b5 Use errgroup consistently in MultiWrite (#966)
4a92f6c Use name.MustParseReference in some tests (#965)
3259211 allow multiple images pull (#975)
a11b12f crane digest: fallback to GET when HEAD fails (#971)
b111f87 describe how to install crane on arch (#969)
db3e0a7 implement catalog tests (#944)

v0.4.1

02 Mar 17:27
efb2d62
Compare
Choose a tag to compare

Changelog

4d068fb Access v1.Layer via our index impls (#935)
c3da6bf Buffer the output of gzip.Writer to avoid stalling (#923)
e96aca2 Bump github.com/containerd/stargz-snapshotter/estargz to v0.4.1 (#939)
c8e2035 Don't consider go.mod as generated, because it's not (#929)
6928f6d Prevent test from hitting Docker Hub (#948)
cbafe63 Remove blob for layout (#936)
9c81ed0 Support non-distributable layers in Write and MultiWrite (#930)
2276eac Update common github actions (#894)
04be424 Update common github actions (#938)
d81088d Update common github actions (#940)
49ca2bb Update install instructions for go1.16 (#942)
19c2b63 Update terms (#925)
51f01e7 bump k8s to v0.19.7 and drop travis (#922)
5c4818d bump k8schain deps to k8s v1.19.7 (#927)
efb2d62 cache: lazily pull contents to populate cache (#951)
60c7f4d ci: build/test with multiple version of go (#945)
38d292e doc: add context.Context to examples (#913)
859dff2 doc: add homebrew install (#919)
76199f1 fix(authn): minor fix in refernce link (#924)
213dd48 implement delete manifest tests (#915)
6a1151b implement listTags tests (#918)

v0.4.0

13 Jan 22:18
4eb508c
Compare
Choose a tag to compare

Changelog

0d81a61 Add google.WithUserAgent (#900)
f97c411 Add stringSet for crane.Optimize (#903)
4eb508c Always include tag in tarball refs (#893)
3584fa0 Drop v1util now that 0.3 is cut (#884)
54efceb Fail without pushing when crane optimize misses files (#883)
7682012 Fix crane digest for v1 and platform option (#907)
b4c870f Make gcrane ls --json output consistent (#888)
8844390 Put k8schain in its own go module (#904)
3b7741e Retry registry access on some server errors. (#901)
d1ffc8b Return magic error for crane auth get (#899)
96d4226 Temporarily disable gcloud tests for darwin (#909)
6544cb0 Update common github actions (#886)
02c0712 crane auth get: convert back to credentials (#898)
ec3c7a5 fail computing manifest if no refs are provided (#887)

v0.3.0

22 Dec 00:20
c95d7bd
Compare
Choose a tag to compare

Changelog

e87a6fc Add v1util.EstargzReadCloser utility. (#870)
bac0862 Expand godoc for remote.Tag (#863)
a85f8fd Fix crane append for named pipes (#868)
6cb5945 Fix misleading Authorization: (#864)
91666fb Fix some login issues (#881)
aae0202 Include target resource in credential warning (#882)
8b5370a Refactor to support caching compression. (#867)
7b3632c Return both https and http errors on ping fallback (#859)
f39a196 Set transport.Version via ldflags for release (#856)
c95d7bd Start to flesh out crane optimize. (#879)
687e0e3 Support a mode to emit estargz automagically. (#871)
481434c Towards eliminating v1util (#872)
3158c98 Update common github actions (#858)
94913c0 Update common github actions (#865)
aa5d26f Update common github actions (#875)
8b4c3b5 Update the philosophy (#877)
d29eb11 Use gcrane.Keychain for not only crane-inherit commands but also gcrane-specific commands. (#880)
39d4b23 add to layout replacedescriptor and removedescriptor (#848)
a33895c match.Platforms (#841)

v0.2.1

01 Dec 15:51
f937abd
Compare
Choose a tag to compare

Changelog

f937abd Set Version via ldflags for releases (#855)

v0.2.0

01 Dec 00:53
7c586d4
Compare
Choose a tag to compare

Highlights

  • windows support: #780
  • arm and arm64 images for crane/gcrane: #851
  • Correctly handle insufficient scope errors: #846
  • remote ctx gets used for initial token exchange: #818
  • Better debug logging (crane won't break the terminal): #816
  • remote.MultiWrite for more efficiently pushing multiple images: #798
  • Version info in remote useragent (and remote.WithUserAgent option): #837
  • Fixed an issue with context propagation when pushing manifest lists: #818

Changelog

cd5ad27 Add GitHub Actions badge for build status (#796)
0d898ee Add Windows support - Fix tests, enable CI, and release Windows binaries (#780)
b004c8a Add ability to override default registry and tag in pkg/name (#824)
ef0e499 Add logos for crane and gcrane (#822)
ab3252b Add remote.MultiWrite (#798)
5040388 Add remote.WithJobs and use it in remote.MultiWrite (#803)
5f1c4b2 Add support for arm and arm64 (#851)
d4a7f2f Delete empty 1 file (#829)
cf9d7b3 Don't log image layers in debug logs (#836)
b7100fc Drop //go:generate since we need hack/update-codegen.sh anyways (#801)
53ad5c4 Fix debug images (#811)
fb6ca2e Fix error when calculating tarball size of manifest (#804)
8bdb226 Fix some weirdness in google.Keychain (#807)
7c586d4 Implement better user agent support (#837)
dd33eb2 Improve transport.Error text (#827)
5fa6b58 Make sure options are propagated to child Writes (#818)
59645bd Parse WWW-Authenticate challenges on retry (#846)
3904ad8 Plumb contexts through transport.New (#834)
0349253 Refactor [g]crane to make threading options easier (#845)
429c837 Revamp debug logs (#816)
051a6c0 Rewrite cloudbuild.yaml and --publish=all (#802)
144defc Set longer timeout for ping (#833)
e4f0bba Try to remove dependency on GCR creds (#793)
1f7f304 Update codegen step to use vendored codegen tools (#795)
919148f Update common github actions (#792)
51a0dea Update common github actions (#800)
a14ada4 Update common github actions (#812)
5749037 Update common github actions (#826)
93b58dc add FindManifests (#828)
ca90ba6 add:registry ping timeout (#808)
6df0303 create CalculateSize() (#719)
6a63025 expose v1/layout.WriteImage and WriteIndex (#815)
50fe4c4 fix vet complaint (#831)
70abb4c match package with matcher and utils to filter v1.Descriptors; v1.Platform.Equals utility (#823)

v0.1.4

22 Oct 01:24
8a28419
Compare
Choose a tag to compare

Changelog

8a28419 Return basic auth from google.Keychain (#791)
25dfb32 Add --platform CLI option for crane (#788)
6344e57 format Go code (#790)
8e0bbb8 Add platform option to crane copy and digest (#742)
da2eb53 Update k8s-pkg-credentialprovider to pick up security fixes (#787)
77421d5 Use pinned k8s.io/code-generator for codegen (#785)
e39e523 Implement crane digest using a HEAD request (#784)
c9d94b7 Rename update-codegen for consistency (#781)
5e45177 Add WithContext to google.ListerOption (#776)
9f2724c [Automated] Fix misspellings (#775)
211fc9c Fix gofmt (#774)