vegardit/docker-gitea-act-runner

DinD: Suspicious output

Miladiir opened this issue · 1 comments

gitea_runner-gitea_act_runner-1  | 2023-07-24 00:37:03 INFO [/opt/run_runner.sh:10] Effective user: uid=1000(act) gid=1000(act) groups=1000(act)
gitea_runner-gitea_act_runner-1  | /opt/run_runner.sh: line 52: deamon: command not found
gitea_runner-gitea_act_runner-1  | /opt/run_runner.sh: line 52: .runner: command not found
gitea_runner-gitea_act_runner-1  | /opt/run_runner.sh: line 52: data: command not found
gitea_runner-gitea_act_runner-1  | /opt/run_runner.sh: line 52: /src: No such file or directory
gitea_runner-gitea_act_runner-1  | time="2023-07-24T00:37:03+02:00" level=info msg="Starting runner daemon"

Looks like something is not escaped properly?

That is odd I didn't get this in my tests. It should already be fixed. What happens is that the strings in yaml comments of the template surrounded by backticks are evaluated as commands. The bash function doing the string interpolation should not do this.