From 15703a5ab25884f6067d77a0ace611506ec5ee54 Mon Sep 17 00:00:00 2001 From: Alexei Fedotov Date: Thu, 12 Oct 2023 16:54:30 +0200 Subject: [PATCH] Add /dev/dri permission debug --- .github/workflows/test-docker.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test-docker.yml b/.github/workflows/test-docker.yml index 0c3b15196..848074935 100644 --- a/.github/workflows/test-docker.yml +++ b/.github/workflows/test-docker.yml @@ -55,6 +55,7 @@ jobs: devices=$(find /dev -type c -name 'nvidia*' | awk '{ print " --device "$1":"$1 }') test ! -d /dev/dri || { + ls -l /dev/dri device="$devices --device /dev/dri:/dev/dri" getent group render | awk -F : '{ print "RUN groupadd -g "$3" render && usermod -a -G render ghrunner" }' >>Dockerfile }