quaint-telephone-89068
11/08/2022, 2:20 PM./pants run myservice:img
it uses the registry name as part of the docker tag, which is annoyingly long 🙈
E.g. <http://123456789987654321.dkr.ecr.us-west-1.amazonaws.com/myservice:latest|123456789987654321.dkr.ecr.us-west-1.amazonaws.com/myservice:latest>
is now on my list of docker images
.
Describe the solution you'd like
Allow me to customize the registry when just `run`ning my image. E.g.
docker_image(
registries=[...], # for package and publish
run_goal_registry="companyname",
)
which then ./pants run myservice:img
would make companyname/myservice:latest
Describe alternatives you've considered
I have this in a plugin, but I don't like turning off the standard plugins. #15359 could help the pain though...
Additional context
N/A
pantsbuild/pantsuser
11/08/2022, 2:20 PM