Skip to content

Commit 77d99aa

Browse files
gloursUlysses Souza
andcommitted
update the tags example to match the list definition
Co-authored-by: Ulysses Souza <[email protected]> Signed-off-by: Guillaume Lours <[email protected]>
1 parent 6b017e7 commit 77d99aa

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

build.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -384,17 +384,15 @@ Such grant must be explicit within service specification as [secrets](spec.md#se
384384

385385
### tags
386386

387-
`tags` defines a list of tag mappings that MUST be associated to the build image.
387+
`tags` defines a list of tag mappings that MUST be associated to the build image. This list come in addition of
388+
the `image` [property defined in the service section](spec.md#image)
388389

389390
```yml
390391
tags:
391-
"myimage:mytag"
392+
- "myimage:mytag"
392393
"registry/username/myrepos:my-other-tag"
393394
```
394395

395-
Compose implementations MUST create matching entry with the IP address and hostname in the container's network
396-
configuration, which means for Linux `/etc/hosts` will get extra lines:
397-
398396
## Implementations
399397

400398
* [docker-compose](https://docs.docker.com/compose)

0 commit comments

Comments
 (0)