mirror of
https://github.com/docker/compose.git
synced 2025-07-25 22:54:54 +02:00
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,
|
Target: service.Build.Target,
|
||||||
Exports: []bclient.ExportEntry{{Type: "image", Attrs: map[string]string{}}},
|
Exports: []bclient.ExportEntry{{Type: "image", Attrs: map[string]string{}}},
|
||||||
Platforms: plats,
|
Platforms: plats,
|
||||||
Labels: service.Labels,
|
Labels: service.Build.Labels,
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user