Browse Source

Pass the target to buildkit

Signed-off-by: Djordje Lukic <[email protected]>
Djordje Lukic 5 years ago
parent
commit
7d88fc61d3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      local/build.go

+ 1 - 0
local/build.go

@@ -130,6 +130,7 @@ func (s *composeService) toBuildOptions(service types.ServiceConfig, contextPath
 		},
 		BuildArgs: flatten(mergeArgs(service.Build.Args, buildArgs)),
 		Tags:      tags,
+		Target:    service.Build.Target,
 	}
 }