forked from SUNET/soc-ops
fix runner command typo
This commit is contained in:
parent
2c2dc7f95d
commit
c7c044fb98
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue