Don’t overwrite layer checksum on push
Don’t overwrite layer checksum on push

After v1.8.3 layer checksum is used for image ID
validation. Rewriting the checksums on push would
mean that next pulls will get different image IDs
and pulls may fail if its detected that same
manifest digest can now point to new image ID.

Fixes #17178

Signed-off-by: Tonis Tiigi <c2470c48b2d3312d61f94f18d3a1cd113d1915ad@gmail.com>
makinacorpus/docker,makinacorpus/docker,solanolabs/docker,circleci/docker,solanolabs/docker,circleci/docker,solanolabs/docker,makinacorpus/docker,circleci/docker