fix(build.js): use docker build instead of buildx
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
ZhenYi 2026-04-15 00:14:31 +08:00
parent 7a1a0ab6c5
commit c0dfb4a418

View File

@ -46,11 +46,10 @@ for (const service of targets) {
try {
execSync(
`docker buildx build ` +
`docker build ` +
`--build-arg BUILD_TARGET=${BUILD_TARGET} ` +
`-f "${dockerfile}" ` +
`-t "${image}" ` +
`--load ` +
`--progress=plain ` +
`.`,
{ stdio: 'inherit', cwd: path.join(__dirname, '..') }