Allow bounded action download memory for the manual runner
Runner compatibility preflight / preflight (push) Successful in 3m23s
Runner compatibility preflight / preflight (push) Successful in 3m23s
This commit is contained in:
parent
194cce7c65
commit
2fcbcbf639
@@ -24,7 +24,7 @@ access. Only trusted team workflows may run. Jobs have no socket, registration
|
||||
state or permitted host-volume mounts. The runner exposes no ports, cache or
|
||||
metrics listener. Jobs use the separate manual-build-jobs bridge, a 256 MiB
|
||||
memory ceiling, no swap, 0.65 CPU and a PID limit of 256. The runner itself is
|
||||
limited to 96 MiB and 0.25 CPU. This does not protect the host against a malicious
|
||||
limited to 192 MiB (Go soft memory target 128 MiB) and 0.25 CPU. This does not protect the host against a malicious
|
||||
trusted workflow or Docker administrator. Workflow triggers must remain push
|
||||
only on main/manual-build-validation; do not enable untrusted PR jobs.
|
||||
|
||||
|
||||
@@ -6,7 +6,10 @@ services:
|
||||
restart: unless-stopped
|
||||
entrypoint: [act_runner]
|
||||
command: [daemon, --config, /config.yaml]
|
||||
mem_limit: 96m
|
||||
mem_limit: 192m
|
||||
memswap_limit: 192m
|
||||
environment:
|
||||
GOMEMLIMIT: 128MiB
|
||||
cpus: 0.25
|
||||
volumes:
|
||||
- ./state:/data
|
||||
|
||||
Reference in New Issue
Block a user