vegardit / docker-gitea-act-runner

Docker image based on debian:stable-slim to run Gitea's act_runner as a Docker container
https://buymeacoffee.com/vegardit
Apache License 2.0
171 stars 19 forks source link

Boot loop of latest version #32

Closed lanbugs closed 1 year ago

lanbugs commented 1 year ago

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 !!strfalseinto 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 !!strfalseinto 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 !!strfalseinto 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 !!strfalseinto 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 !!strfalseinto bool

Regards,

Max

lanbugs commented 1 year ago

Additional info: dind-0.2.5 is working, latest and 0.2.6 is broken.

lltr commented 1 year ago

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.