mirror of https://github.com/docker/compose.git
Fix build image label mapping
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
This commit is contained in:
parent
c2195b5cca
commit
8c99bb2c29
|
@ -189,7 +189,7 @@ func (s *composeService) toBuildOptions(service types.ServiceConfig, contextPath
|
|||
Target: service.Build.Target,
|
||||
Exports: []bclient.ExportEntry{{Type: "image", Attrs: map[string]string{}}},
|
||||
Platforms: plats,
|
||||
Labels: service.Labels,
|
||||
Labels: service.Build.Labels,
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue