Releases: google/go-containerregistry
v0.8.0
What's Changed
- spelling: entrypoing->entrypoint by @vsoch in #1176
- update crane mutate annotation/label args to allow commas in label values by @vsoch in #1178
- Check for Podman's auth.json in DefaultKeychain by @imjasonh in #1181
- Enable gosec, exempt tests, ignore others by @imjasonh in #1169
- Revert "Check for Podman's auth.json in DefaultKeychain (#1181)" by @imjasonh in #1184
- Attempt 2: Check for Podman's auth in DefaultKeychain by @imjasonh in #1185
- Update deps by @dekkagaijin in #1188
- Include 1.17 in build and test matrix by @imjasonh in #1190
- Add issue templates by @imjasonh in #1192
- Add depcheck test that
pkg/registry
has light dependencies by @imjasonh in #1187 - Windowsify layers when
crane append
ing by @imjasonh in #1179 - Accept multiple entrypoint values in crane mutate by @imjasonh in #1194
- Added env vars and optional layers to mutate cmd by @ehmm in #1199
- Make crane export more ergonomic by @jonjohnsonjr in #1203
- Don't use the term 'runes' in error messages by @imjasonh in #1204
- Always use basic for anonymous pings by @jonjohnsonjr in #1207
- Support specifying osversion in the --platform flag by @imjasonh in #1206
- Bump golang.org/x/tools by @imjasonh in #1201
- crane push: Support OCI layout by @jonjohnsonjr in #1208
- Bump deps by @imjasonh in #1214
- Pluggable blob storage for pkg/registry by @imjasonh in #1209
- Add
--image-refs
tocrane push
. by @mattmoor in #1217 - Add a
krane
tool. by @mattmoor in #1218 - Fix krane build by @mattmoor in #1223
- Add UnavailableErrorCode by @jonjohnsonjr in #1230
- Add docker cred helper adapter in pkg/authn by @imjasonh in #1227
- crane pull: support pulling index to OCI Layout by @jonjohnsonjr in #1215
New Contributors
Full Changelog: v0.7.0...v0.8.0
v0.6.1
Changelog
Container Images
https://gcr.io/go-containerregistry/crane:v0.6.1
https://gcr.io/go-containerregistry/gcrane:v0.6.1
For example:
docker pull gcr.io/go-containerregistry/crane:v0.6.1
docker pull gcr.io/go-containerregistry/gcrane:v0.6.1
v0.7.0
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
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
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
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
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
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
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)