Boot loop of latest version
lanbugs opened this issue · 2 comments
Hi,
i pulled the last version of act-runner container and tried both versions, he has problems with parsing the configuration.
Following error occurs:
act_2-gitea_act_runner-1 | level=info msg="Registering runner, arch=amd64, os=linux, version=v0.2.6." act_2-gitea_act_runner-1 | level=warning msg="Runner in user-mode." act_2-gitea_act_runner-1 | Error: parse config file "/tmp/gitea_act_runner_config.yml": yaml: unmarshal errors: act_2-gitea_act_runner-1 | line 96: cannot unmarshal !!str
falseinto bool act_2-gitea_act_runner-1 | level=info msg="Registering runner, arch=amd64, os=linux, version=v0.2.6." act_2-gitea_act_runner-1 | level=warning msg="Runner in user-mode." act_2-gitea_act_runner-1 | Error: parse config file "/tmp/gitea_act_runner_config.yml": yaml: unmarshal errors: act_2-gitea_act_runner-1 | line 96: cannot unmarshal !!str
falseinto bool act_2-gitea_act_runner-1 | level=info msg="Registering runner, arch=amd64, os=linux, version=v0.2.6." act_2-gitea_act_runner-1 | level=warning msg="Runner in user-mode." act_2-gitea_act_runner-1 | Error: parse config file "/tmp/gitea_act_runner_config.yml": yaml: unmarshal errors: act_2-gitea_act_runner-1 | line 96: cannot unmarshal !!str
falseinto bool act_2-gitea_act_runner-1 | level=info msg="Registering runner, arch=amd64, os=linux, version=v0.2.6." act_2-gitea_act_runner-1 | level=warning msg="Runner in user-mode." act_2-gitea_act_runner-1 | Error: parse config file "/tmp/gitea_act_runner_config.yml": yaml: unmarshal errors: act_2-gitea_act_runner-1 | line 96: cannot unmarshal !!str
falseinto bool act_2-gitea_act_runner-1 | level=info msg="Registering runner, arch=amd64, os=linux, version=v0.2.6." act_2-gitea_act_runner-1 | level=warning msg="Runner in user-mode." act_2-gitea_act_runner-1 | Error: parse config file "/tmp/gitea_act_runner_config.yml": yaml: unmarshal errors: act_2-gitea_act_runner-1 | line 96: cannot unmarshal !!str
falseinto bool
Regards,
Max
Additional info: dind-0.2.5 is working, latest and 0.2.6 is broken.
Having the same issue, reverting to dind-0.2.5
...
===========================================================
2023-09-30 07:57:01 INFO [/opt/run_runner.sh:10] Effective user: uid=1000(act) gid=1000(act) groups=1000(act),27(sudo),100(users),999(docker),2000
Error: invalid configuration: parse config file "/tmp/gitea_act_runner_config.yml": yaml: unmarshal errors:
line 96: cannot unmarshal !!str `false` into bool
2023-09-30 07:57:02 INFO [/opt/run_runner.sh:114] Stopping docker engine...
Stopping Docker: docker.