fix(build.js): use docker build instead of buildx
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
7a1a0ab6c5
commit
c0dfb4a418
@ -46,11 +46,10 @@ for (const service of targets) {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
execSync(
|
execSync(
|
||||||
`docker buildx build ` +
|
`docker build ` +
|
||||||
`--build-arg BUILD_TARGET=${BUILD_TARGET} ` +
|
`--build-arg BUILD_TARGET=${BUILD_TARGET} ` +
|
||||||
`-f "${dockerfile}" ` +
|
`-f "${dockerfile}" ` +
|
||||||
`-t "${image}" ` +
|
`-t "${image}" ` +
|
||||||
`--load ` +
|
|
||||||
`--progress=plain ` +
|
`--progress=plain ` +
|
||||||
`.`,
|
`.`,
|
||||||
{ stdio: 'inherit', cwd: path.join(__dirname, '..') }
|
{ stdio: 'inherit', cwd: path.join(__dirname, '..') }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user