mirror of
https://gitea.com/gitea/act_runner.git
synced 2024-12-27 03:18:22 +01:00
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>
This commit is contained in:
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
Block a user