eager-dress-66405
01/19/2022, 10:56 PMeager-dress-66405
01/19/2022, 10:57 PMPANTS_DOCKER_BUILD_ARGS="['COMMIT_SHA=$COMMIT_SHA']"
will set the entire list and others that were defined in pants.tml
are removed. I was not able to get +[..]
syntax workingeager-dress-66405
01/19/2022, 10:59 PMdocker.build_args
to extract it from the env is not an option.happy-kitchen-89482
01/19/2022, 11:21 PMeager-dress-66405
01/20/2022, 1:13 AM./pants package <target>
runhappy-kitchen-89482
01/20/2022, 1:19 AMhappy-kitchen-89482
01/20/2022, 1:20 AMhappy-kitchen-89482
01/20/2022, 1:21 AM./pants --docker-build-args='+["COMMIT_SHA=LITERAL_SHA"]' ...
should work, does it not?eager-dress-66405
01/20/2022, 2:16 AMPANTS_DOCKER_BUILD_ARGS="+['COMMIT_SHA=$COMMIT_SHA']"
does not work, I will confirm with the cli arg