mirror of https://code.forgejo.org/forgejo/runner
change podman socket path (#341)
port of https://github.com/nektos/act/pull/1961 closes gitea/act_runner#274 Reviewed-on: https://gitea.com/gitea/act_runner/pulls/341 Reviewed-by: Jason Song <i@wolfogre.com> Co-authored-by: TheFox0x7 <thefox0x7@gmail.com> Co-committed-by: TheFox0x7 <thefox0x7@gmail.com>pull/71/head
parent
03f0829d09
commit
ed35b09b8f
|
@ -163,9 +163,10 @@ func initLogging(cfg *config.Config) {
|
||||||
|
|
||||||
var commonSocketPaths = []string{
|
var commonSocketPaths = []string{
|
||||||
"/var/run/docker.sock",
|
"/var/run/docker.sock",
|
||||||
"/var/run/podman/podman.sock",
|
"/run/podman/podman.sock",
|
||||||
"$HOME/.colima/docker.sock",
|
"$HOME/.colima/docker.sock",
|
||||||
"$XDG_RUNTIME_DIR/docker.sock",
|
"$XDG_RUNTIME_DIR/docker.sock",
|
||||||
|
"$XDG_RUNTIME_DIR/podman/podman.sock",
|
||||||
`\\.\pipe\docker_engine`,
|
`\\.\pipe\docker_engine`,
|
||||||
"$HOME/.docker/run/docker.sock",
|
"$HOME/.docker/run/docker.sock",
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue