building docker images, I've found that if I speci...
# general
b
building docker images, I've found that if I specify a
repository
on my registry in pants.toml, I can't override it in my
docker_image
target. Is that intended? It looks like it's due to this `elif`: https://github.com/pantsbuild/pants/blob/4012d9eff25e6913a32623863f2b646c27fa7e10/src/python/pants/backend/docker/goals/package_image.py#L112 I'd expect the value in docker_image to override a per-registry default specified in the registry definition (I know about
default_repository
, but that's not per-registry afaict.)
If there's a repository specified on my default registry definition, then saying
docker_image(repository="overridden/value")
results in that parameter just being silently ignored
a
Maybe you can work around that with
__defaults__
?