mirror of
https://github.com/docker/compose.git
synced 2025-07-06 21:34:25 +02:00
Merge pull request #1422 from gtardif/fix_build_label
Fix build image label mapping
This commit is contained in:
commit
7bb0f02d2e
@ -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