compose icon indicating copy to clipboard operation
compose copied to clipboard

9051 compose tag push

Open abdennour opened this issue 4 years ago • 0 comments

What I did Adding subcommand docker compose tag with the following options:

  • --template string: the tag template which can leverage the following variables : - {{ .ServiceName }} - service name under tagging - {{ .ProjectName }} - compose project name - {{ .ServicesCount }} - Total number of services - {{ .ServicesToBuildCount }} - Total number of services to build
  • --push: whether to push the new tag(s) or just tagging

i.e.

docker compose tag --template "myregistry.local/myrepo/{{ .ServiceName }}:v1" --push 

Related issue #9051

(not mandatory) A picture of a cute animal, if possible in relation with what you did

abdennour avatar Dec 18 '21 07:12 abdennour