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

failure in /opt/run_runner.sh during startup.

wblew opened this issue · comments

Commit 5dd9107 broke startup. It introduced backtick chars into a comment in the image/config.template.yaml file. During that file's expansion by /opt/run_runner.sh those backticks cause script failure.

Here is some tracing with the GITEA_RUNNER_LOG_EFFECTIVE_CONFIG: true

gitea-runner-runner-1  |   # Like: ["macos-arm64:host", "ubuntu-latest:docker://node:16-bullseye", "ubuntu-22.04:docker://node:16-bullseye"]
gitea-runner-runner-1  |   # If it's empty when registering, it will ask for inputting labels.
gitea-runner-runner-1  | /opt/run_runner.sh: line 45: deamon: command not found
gitea-runner-runner-1  | /opt/run_runner.sh: line 45: .runner: command not found
gitea-runner-runner-1  |   # If it's empty when execute , will use labels in  file.

See my PR #18

Thanks for reporting. With 6b85990 backticks are no longer expanded/interpolated if present in the YAML file.