fix runner command typo

This commit is contained in:
Valerio Lomanto 2025-02-12 09:35:21 +01:00
parent 2c2dc7f95d
commit c7c044fb98
Signed by: verglasz
GPG key ID: 33263D8CFCFEC285

View file

@ -54,7 +54,7 @@ services:
- /opt/forgejo-runner/docker_certs:/certs
command: >-
bash -ec '
if ! grep '--mount type=bind,source=/certs/client,target=/certs/client,readonly' config.yml > /dev/null; then
if ! grep "--mount type=bind,source=/certs/client,target=/certs/client,readonly" config.yml > /dev/null; then
sed -i "\|options:| a \ \ \ \ --mount type=bind,source=/certs/client,target=/certs/client,readonly" config.yml
fi
forgejo-runner --config config.yml daemon