From 4e62f7faed17290502e9403b8b6b9df516007dba Mon Sep 17 00:00:00 2001 From: Vladimir Milosevic <157983820+vmilosevic@users.noreply.github.com> Date: Tue, 1 Oct 2024 12:50:15 +0200 Subject: [PATCH] Dont use root with docker --- .github/workflows/test-runner.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-runner.yaml b/.github/workflows/test-runner.yaml index 02388a3c..0d818286 100644 --- a/.github/workflows/test-runner.yaml +++ b/.github/workflows/test-runner.yaml @@ -67,12 +67,17 @@ jobs: container: image: ghcr.io/${{ github.repository }}/${{ matrix.image }}:latest - options: --user root + # options: --user root volumes: - /dev/hugepages:/dev/hugepages - /dev/hugepages-1G:/dev/hugepages-1G steps: + + - name: Fix ownership + run: | + sudo chown -R ubuntu:ubuntu $GITHUB_WORKSPACE || true + - uses: actions/checkout@v4 with: submodules: recursive