Skip to content

What it is

An artifact is the output of a build: a file produced once, stored in a registry, deployed everywhere the same bytes go.

The artifact is what crosses the boundary between "the code" and "the environment". The source code lives in git; the artifact lives in a registry (Harbor, Artifactory, npm registry, Docker Hub, GitHub Packages, S3). The same artifact is deployed to staging, then to canary, then to production — never rebuilt in between.

Artifacts come in many shapes: a .jar (Java), a .whl (Python wheel), a .tgz (npm package), a .war (Java web app), a Docker image (registry.example.com/app:1.2.3@sha256:...), a tarball of a static site, a .deb or .rpm package, an .ipa (iOS), an .apk (Android), a .nupkg (NuGet). The unifying property is: an artifact is a file whose content is the same everywhere it lands.