1
0
mirror of https://gitea.com/gitea/act_runner synced 2024-11-13 18:25:50 +01:00
act_runner/internal
Zettat123 f2629f2ea3 Add support for finding docker daemon from common socket paths (#263)
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](e60018a6d9/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>
2023-07-01 01:27:54 +00:00
..
app Add support for finding docker daemon from common socket paths (#263) 2023-07-01 01:27:54 +00:00
pkg Improve the usage of docker_host configuration (#260) 2023-06-30 04:00:04 +00:00