fix: run Electron artifact builds in the bounded worker [CI SKIP]
This commit is contained in:
@@ -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 "$@"
|
||||
|
||||
Reference in New Issue
Block a user