From <https://www.pantsbuild.org/docs/tagging-dock...
# general
r
From https://www.pantsbuild.org/docs/tagging-docker-images#setting-a-repository-name with example
BUILD
file...
Copy code
docker_image(
    name="demo",
    repository="example/demo",
)
```$ ./pants package src/example:demo
# Will build the image: myimages.example.demo:latest```
where does 'myimages' come from?
1
c
huh, good question. I’ll dig for it, seems like missing information there…
Quick answer is that that comes from your registry setting
also the formatting of that image name in the comment is wrong..
I’ve updated the docs so it just reads:
Copy code
# Will build the image: example/demo:latest
The registry part is explained in other sections.
r
Thanks 👍
👍 1