Skip to content

Commit

Permalink
.github/workflows/testing.yml: run containers with --user runner
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Janik <[email protected]>
  • Loading branch information
tim-janik committed Nov 10, 2024
1 parent f66b644 commit 2306419
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

NobleAssets:
runs-on: ubuntu-latest
container: { image: 'ghcr.io/tim-janik/anklang-ci:noble-latest' }
container: { image: 'ghcr.io/tim-janik/anklang-ci:noble-latest', options: --user runner }
steps:
- { uses: actions/[email protected], with: { fetch-depth: 0, submodules: recursive } }
- name: 'Fetch all tags'
Expand All @@ -34,7 +34,7 @@ jobs:
UploadDocs:
if: ${{ github.repository == 'tim-janik/anklang' && github.ref == 'refs/heads/trunk' }}
runs-on: ubuntu-latest
container: { image: 'ghcr.io/tim-janik/anklang-ci:noble-latest' }
container: { image: 'ghcr.io/tim-janik/anklang-ci:noble-latest', options: --user runner }
steps:
- { uses: actions/[email protected], with: { fetch-depth: 0, submodules: recursive } }
- name: 'Fetch all tags'
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
NobleClangTidy:
if: ${{ ! contains(github.ref, 'refs/tags/') }}
runs-on: ubuntu-latest
container: { image: 'ghcr.io/tim-janik/anklang-ci:noble-latest' }
container: { image: 'ghcr.io/tim-janik/anklang-ci:noble-latest', options: --user runner }
steps:
- { uses: actions/[email protected], with: { fetch-depth: 0, submodules: recursive } }
- name: 'Fetch all tags'
Expand Down

0 comments on commit 2306419

Please sign in to comment.