فهرست منبع

Merge pull request #1422 from gtardif/fix_build_label

Fix build image label mapping
Guillaume Tardif 4 سال پیش
والد
کامیت
7bb0f02d2e
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      local/compose/build.go

+ 1 - 1
local/compose/build.go

@@ -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
 }