Pass the target to buildkit

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
This commit is contained in:
Djordje Lukic 2020-12-07 16:47:58 +01:00
parent 576aa46d21
commit 7d88fc61d3
1 changed files with 1 additions and 0 deletions

View File

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