Skip to content

Commit f5408f4

Browse files
committed
more debug
1 parent f7df8f9 commit f5408f4

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/quality-checks.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,10 @@ jobs:
223223
id
224224
echo "Checking /var/run/docker.sock permissions"
225225
ls -la /var/run/docker.sock
226+
echo "Checking /var/run/docker.sock permissions using ls -Ll"
227+
ls -lL /var/run/docker.sock
228+
echo "running stat"
229+
stat -Lc '%u %g %a %n' /var/run/docker.sock
226230
- name: Determine docker images to scan
227231
id: normalized_docker_images
228232
env:
@@ -283,7 +287,7 @@ jobs:
283287
runs-on: ubuntu-22.04
284288
container:
285289
image: ghcr.io/nhsdigital/eps-devcontainers/${{ inputs.runtime_docker_image }}
286-
options: --user 1001:1001
290+
options: --user 1001:1001 --group-add $(stat -c '%g' [docker.sock])
287291
needs: get_docker_images_to_scan
288292
if: ${{ inputs.run_docker_scan == true }}
289293
strategy:

0 commit comments

Comments
 (0)