Skip to content

Commit

Permalink
Dont use root with docker
Browse files Browse the repository at this point in the history
  • Loading branch information
vmilosevic authored Oct 1, 2024
1 parent 308692f commit 4e62f7f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/test-runner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e62f7f

Please sign in to comment.