fix: run Electron artifact builds in the bounded worker [CI SKIP]

This commit is contained in:
2026-11-02 17:39:58 +09:00
parent ca4a819506
commit 6007e99985
9 changed files with 163 additions and 100 deletions
+5
View File
@@ -39,4 +39,9 @@ limits=$("$docker_bin" inspect "$container" --format '{{.HostConfig.CpuPeriod}}
}
echo '[limits] shared image builder: 2 CPUs, 8 GiB RAM, no swap'
if [ "${1:-}" = --prepare-only ]; then exit 0; fi
if [ "${1:-}" = --artifact-output ]; then
destination=$2
shift 2
exec "$docker_bin" buildx build --builder "$builder" --output "type=local,dest=$destination" --progress plain "$@"
fi
exec "$docker_bin" buildx build --builder "$builder" --load --progress plain "$@"