bitter-ability-32190
07/29/2022, 12:43 AMbitter-ability-32190
07/29/2022, 12:58 AMlatest
but only if TAG
isn't definedbitter-ability-32190
07/29/2022, 10:33 AMsparse-lifeguard-95737
07/29/2022, 1:26 PM./pants
to `source`:
export DOCKER_TAG=${DOCKER_TAG:-latest}
bitter-ability-32190
07/29/2022, 2:16 PMbitter-ability-32190
07/29/2022, 2:39 PMrun
(and maybe package
, idk) I want the tag and registry to be some hardcoded value, so that the built image doesn't have a long docker tag: watson_orders/serviceA:latest
vs <http://superr-log.amazon.ecs.url.com/serviceA:latest|superr-log.amazon.ecs.url.com/serviceA:latest>
And then only for publish
do we do the actual registry tagging.bitter-ability-32190
07/29/2022, 2:40 PM./pants
-thing 🙌bitter-ability-32190
07/29/2022, 3:09 PMbitter-ability-32190
07/29/2022, 3:58 PMexport DOCKER_TAG
trick, also wrote my own run
rule for docker images.
Last hurdle is https://github.com/pantsbuild/pants/issues/16353 but things are shaping up nicely