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

Commit 8c99bb2

Browse files
committed
Fix build image label mapping
Signed-off-by: Guillaume Tardif <[email protected]>
1 parent c2195b5 commit 8c99bb2

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)