Note that in none of the jobs/commands leading up to the call of the build_image script never overwrites BUILD_PATH
Expected behavior
Either we update the description or update the code in a way that handles PATH overriding the default BUILD_PATH when specified. If we go the latter, then also make sure we allow for both PATH and BUILD_PATH to be specified without BUILD_PATH being overwritten.
Orb version
9.1.0
What happened
The parameter description for
path
on thebuild_and_push_image
job is incorrect.PATH
does not ever seem to overrideBUILD_PATH
and specifying a non-default PATH parameter leaves theBUILD_PATH
as the default.Example of build path from the script: https://github.com/CircleCI-Public/aws-ecr-orb/blob/master/src/scripts/docker_buildx.sh#L97
Note that in none of the jobs/commands leading up to the call of the
build_image
script never overwritesBUILD_PATH
Expected behavior
Either we update the description or update the code in a way that handles
PATH
overriding the defaultBUILD_PATH
when specified. If we go the latter, then also make sure we allow for bothPATH
andBUILD_PATH
to be specified withoutBUILD_PATH
being overwritten.