Skip to content

Commit

Permalink
ci: fix git permission problem by specifying uid in docker
Browse files Browse the repository at this point in the history
Signed-off-by: Shengqi Chen <[email protected]>
  • Loading branch information
Harry-Chen committed Mar 21, 2024
1 parent 904012d commit 47844c1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
container: ghcr.io/tuna/thuthesis-test-env
container:
image: ghcr.io/tuna/thuthesis-test-env
options: --user 1001
steps:
- uses: actions/checkout@v4
- name: Build documentation and example
Expand Down Expand Up @@ -37,7 +39,9 @@ jobs:
test:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
container: ghcr.io/tuna/thuthesis-test-env
container:
image: ghcr.io/tuna/thuthesis-test-env
options: --user 1001
steps:
- uses: actions/checkout@v4
- name: Test with l3build
Expand Down

0 comments on commit 47844c1

Please sign in to comment.