fix(build.js): enable BuildKit for docker build
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
d404202ac0
commit
4b4361072d
@ -46,7 +46,7 @@ for (const service of targets) {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
execSync(
|
execSync(
|
||||||
`docker build ` +
|
`DOCKER_BUILDKIT=1 docker build ` +
|
||||||
`--build-arg BUILD_TARGET=${BUILD_TARGET} ` +
|
`--build-arg BUILD_TARGET=${BUILD_TARGET} ` +
|
||||||
`-f "${dockerfile}" ` +
|
`-f "${dockerfile}" ` +
|
||||||
`-t "${image}" ` +
|
`-t "${image}" ` +
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user