cool-easter-32542
07/25/2025, 6:12 PMpants package :: :
[ERROR] 1 Exception encountered:
Engine traceback:
in `package` goal
DockerBuildContextError: Undefined value for build arg on the <redacted>:app target: The Docker environment variable 'GITHUB_SHA' is undefined. You may provide a value for this variable either in `[docker].env_vars` or in Pants's own environment.
If you did not intend to inherit the value for this build arg from the environment, provide a default value with the option `[docker].build_args` or in the `extra_build_args` field on the target definition. Alternatively, you may also provide a default value on the `ARG` instruction directly in the `Dockerfile`.
Pants version
2.15.0
OS
Mac OS M1 Max
pantsbuild/pantscool-easter-32542
07/25/2025, 6:12 PM