broad-processor-92400
09/23/2022, 7:02 AMimage_tags=["{pants.hash}"]
and stick this into a CloudFormation template to have the image running in AWS as a Lambda or Fargate service or whatever.
The only approaches I can determine are not so good:
1. capture it out of the logging of a ./pants package ...
call: our system is then doing automatic processing of human facing messaging
2. looking at the most recent row of `docker images --format '{{.Tag}}' $my_repository`: we have to write the repository out in yet another place, and, with caching/content-addressing, there's no guarantee that the most recently created image is the one that's been created as part of the current build
3. (there doesn't appear to be anything recorded in dist/
, despite this being a package
call; and something like peek
gives me seems to give me image_tags
before formatting)worried-painter-31382
09/23/2022, 7:29 AMbitter-ability-32190
09/23/2022, 12:20 PMdist
. Although the image ID wouldn't be wrong to write 🤔broad-processor-92400
09/25/2022, 11:57 PMdist/path.to.target/target_name.json
file containing info like the repositories, tags and image ID?bitter-ability-32190
09/25/2022, 11:59 PMfoo.docker_info.json
broad-processor-92400
09/26/2022, 12:22 AMbitter-ability-32190
09/26/2022, 12:31 AM