Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit 7bb0f02

Browse files
authored
Merge pull request #1422 from gtardif/fix_build_label
Fix build image label mapping
2 parents c2195b5 + 8c99bb2 commit 7bb0f02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

local/compose/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ func (s *composeService) toBuildOptions(service types.ServiceConfig, contextPath
189189
Target: service.Build.Target,
190190
Exports: []bclient.ExportEntry{{Type: "image", Attrs: map[string]string{}}},
191191
Platforms: plats,
192-
Labels: service.Labels,
192+
Labels: service.Build.Labels,
193193
}, nil
194194
}
195195

0 commit comments

Comments
 (0)