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.
This commit is contained in:
@@ -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" \
|
||||
|
||||
Reference in New Issue
Block a user