attempt to fix runner docker config
This commit is contained in:
parent
a22e7789df
commit
a32bc37278
2 changed files with 4 additions and 6 deletions
|
@ -5,7 +5,7 @@ class soc::runner(
|
||||||
{
|
{
|
||||||
$runner_token = lookup({ 'name' => 'runner_token.vuln_management_repo', 'default_value' => undef })
|
$runner_token = lookup({ 'name' => 'runner_token.vuln_management_repo', 'default_value' => undef })
|
||||||
$runner_labels = join([
|
$runner_labels = join([
|
||||||
"pkthon:docker://nikolaik/python3.12-nodejs23",
|
"python:docker://nikolaik/python3.12-nodejs23",
|
||||||
"ubuntu-22.04:docker://catthehacker/ubuntu:act-22.04",
|
"ubuntu-22.04:docker://catthehacker/ubuntu:act-22.04",
|
||||||
], ',')
|
], ',')
|
||||||
|
|
||||||
|
|
|
@ -52,8 +52,6 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- /opt/forgejo-runner/data:/data
|
- /opt/forgejo-runner/data:/data
|
||||||
- /opt/forgejo-runner/docker_certs:/certs
|
- /opt/forgejo-runner/docker_certs:/certs
|
||||||
command:
|
command: >-
|
||||||
- 'forgejo-runner'
|
sed -i '\|options:| a --mount type=bind,source=/certs/client,target=/certs/client,readonly'
|
||||||
- '--config'
|
forgejo-runner --config config.yml daemon
|
||||||
- 'config.yml'
|
|
||||||
- 'daemon'
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue