diff --git a/local/build.go b/local/build.go index 5efdc76dd..21abaf38e 100644 --- a/local/build.go +++ b/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, } }