vegardit / docker-gitea-act-runner

Docker image based on debian:stable-slim to run Gitea's act_runner as a Docker container

Home Page:https://buymeacoffee.com/vegardit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DinD: Suspicious output

Miladiir opened this issue · 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.