We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7df8f9 commit f5408f4Copy full SHA for f5408f4
1 file changed
.github/workflows/quality-checks.yml
@@ -223,6 +223,10 @@ jobs:
223
id
224
echo "Checking /var/run/docker.sock permissions"
225
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
230
- name: Determine docker images to scan
231
id: normalized_docker_images
232
env:
@@ -283,7 +287,7 @@ jobs:
283
287
runs-on: ubuntu-22.04
284
288
container:
285
289
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])
291
needs: get_docker_images_to_scan
292
if: ${{ inputs.run_docker_scan == true }}
293
strategy:
0 commit comments