Skip to content
Latchkey

Build Argument - CI/CD Glossary Definition

A build argument (ARG / --build-arg) injects a value into a Docker build that is available to build instructions but, unlike ENV, does not persist into the final image - handy for versions and feature toggles.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →