moby/image
Paweł Gronowski 78174d2e74
image/save: Fix untagged images not present in index.json
Saving an image via digested reference, ID or truncated ID doesn't store
the image reference in the archive. This also causes the save code to
not add the image's manifest to the index.json.
This commit explicitly adds the untagged manifests to the index.json if
no tagged manifests were added.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
(cherry picked from commit d131f00fff)
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-02-01 16:48:34 +01:00
..
cache image/cache: Check image platform 2024-01-25 16:07:13 +01:00
spec Updated manifest v2 URLs in image spec README 2023-12-28 16:13:26 -05:00
tarexport image/save: Fix untagged images not present in index.json 2024-02-01 16:48:34 +01:00
v1 migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
fs.go migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
fs_test.go image: format code with gofumpt 2023-08-24 17:57:22 +02:00
image.go migrate to new github.com/distribution/reference module 2023-09-05 12:09:26 +02:00
image_os.go image: implement CheckOS, deprecate pkg/system IsOSSupported 2023-09-07 22:14:44 +02:00
image_test.go Use OCI "History" type instead of inventing our own copy 2023-06-12 13:47:17 -07:00
rootfs.go migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
store.go daemon/imageStore: Mark images built locally 2024-01-25 16:07:10 +01:00
store_test.go image/store: Use errdefs for errors 2022-12-08 17:17:07 +01:00