All languages

Docker

You're viewing a free preview. Sign in free to read every script.

Why this exists The image that passed your tests is not the image you deploy if you build again for production . A rebuild pulls newer base image layers, newer packages and a new timestamp. It is a different image with…

Promote an Image by Digest Between Registries: Same Bytes, No Rebuild, No Overwrites

A promotion script that copies the exact tested image from a staging registry to a production registry by digest, refuses to overwrite a released tag with different content, and verifies what arrived, proven with two real registries and a rebuild that turns out to be a different image.

Sign in free to read this script, along with the rest of the library.

Sign in free