mirror of
https://gitea.com/gitea/runner.git
synced 2026-07-01 14:35:11 +00:00
Caused by #260 act_runner will fail to start if user does not set `docker_host` configuration and `DOCKER_HOST` env. This PR adds the support for finding docker daemon from common socket paths so act_runner could detect the docker socket from these paths. The `commonSocketPaths` is from [nektos/act](https://github.com/nektos/act/blob/e60018a6d9403b27bfd1a1ed6111a6e9de0032fd/cmd/root.go#L124-L131) Reviewed-on: https://gitea.com/gitea/act_runner/pulls/263 Co-authored-by: Zettat123 <zettat123@noreply.gitea.com> Co-committed-by: Zettat123 <zettat123@noreply.gitea.com>