Skip to content

Why it matters

An artifact makes deployments deterministic: the same file that ran in staging runs in production, with the same hash, byte for byte.

Without artifacts, deployments rebuild the source at each environment, which means staging and production can run different code even when the source is the same (different compiler versions, different dependency resolutions, different timestamps). With artifacts, the pipeline builds once, signs the artifact, and promotes the exact same bytes through the environments. This is the "build once, deploy many" principle.