Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit b987f2e

Browse files
authored
Merge pull request #1023 from docker/fix-build-target
Pass the target to buildkit
2 parents 54b86cd + 7d88fc6 commit b987f2e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

local/build.go

+1
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ func (s *composeService) toBuildOptions(service types.ServiceConfig, contextPath
130130
},
131131
BuildArgs: flatten(mergeArgs(service.Build.Args, buildArgs)),
132132
Tags: tags,
133+
Target: service.Build.Target,
133134
}
134135
}
135136

0 commit comments

Comments
 (0)