fix: op not permitted in self-hosted runner (#359)
In self hosted runners in fedora with SELinux enabled, it sometimes gives a random error ``` Error: lsetxattr /var/run/docker.sock: operation not permitted Error: The process '/usr/bin/docker' failed with exit code 126 ``` This seems to happen with docker.sock which is a link to /run/podman/podman.sock looks like lsetxattr is broken for links.pull/361/head
parent
efa2eddee9
commit
8ed8ccb20c
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -52,7 +52,7 @@ class Docker {
|
|||
return `--env UNITY_SERIAL \
|
||||
--env GITHUB_WORKSPACE=/github/workspace \
|
||||
${sshAgent ? '--env SSH_AUTH_SOCK=/ssh-agent' : ''} \
|
||||
--volume "/var/run/docker.sock":"/var/run/docker.sock:z" \
|
||||
--volume "/var/run/docker.sock":"/var/run/docker.sock" \
|
||||
--volume "${githubHome}":"/root:z" \
|
||||
--volume "${githubWorkflow}":"/github/workflow:z" \
|
||||
--volume "${workspace}":"/github/workspace:z" \
|
||||
|
|
Loading…
Reference in New Issue