moby/image/tarexport
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
..
load.go migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
load_test.go reject null manifests 2021-02-02 09:24:53 -08:00
save.go image/save: Fix untagged images not present in index.json 2024-02-01 16:48:34 +01:00
tarexport.go replace some strings with OCI consts 2023-10-17 16:34:52 +02:00