moby/image
Paweł Gronowski d131f00fff
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>
2024-01-29 16:26:37 +01:00
..
cache Use OCI "History" type instead of inventing our own copy 2023-06-12 13:47:17 -07: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-01-29 16:26:37 +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 image: remove deprecated IDFromDigest 2024-01-24 01:54:59 +01: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 migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
store_test.go image/store: Use errdefs for errors 2022-12-08 17:17:07 +01:00