mirror of
https://github.com/docker/compose.git
synced 2026-08-04 14:47:40 +00:00
Merge pull request #1023 from docker/fix-build-target
Pass the target to buildkit
This commit is contained in:
commit
b987f2eaf8
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue