actions-runner-controller/runner
Florian Braun 5b7807d54b
Quote vars in entrypoint.sh to prevent unwanted argument split (#420)
Prevents arguments from being split when e.g. the RUNNER_GROUP variable contains spaces (which is legit. One can create such groups in GitHub).

I've seen that all workers with group names that contain no spaces can register successfully, while all workers with groups that contain spaces will not register.

Furthermore, I suppose also other chars can be used here to inject arbitrary commands in an unsupported way via e.g. pipe symbol.

Quoting the vars correctly should prevent that and allow for e.g. group names and runner labels with spaces and other bash reserved characters.
2021-03-31 10:09:08 +09:00
..
patched Use self update ready entrypoint (#99) 2020-10-05 08:58:20 +09:00
supervisor Configurable "runner and DinD in a single container" (#126) 2020-10-20 08:48:28 +09:00
Dockerfile Set default python (#361) 2021-03-01 09:45:13 +09:00
Makefile Fix self-update failuers due to /runner/externals mount (#253) 2021-01-24 10:58:35 +09:00
dindrunner.Dockerfile Set default python (#361) 2021-03-01 09:45:13 +09:00
entrypoint.sh Quote vars in entrypoint.sh to prevent unwanted argument split (#420) 2021-03-31 10:09:08 +09:00
logger.sh Configurable "runner and DinD in a single container" (#126) 2020-10-20 08:48:28 +09:00
modprobe Configurable "runner and DinD in a single container" (#126) 2020-10-20 08:48:28 +09:00
startup.sh Fix MTU configuration for dockerd (#421) 2021-03-31 09:29:21 +09:00