Skip to content

Commit

Permalink
[github-actions] Fix dubious ownership warning by setting UID for `ot…
Browse files Browse the repository at this point in the history
…-efr32-dev` container
  • Loading branch information
lmnotran committed Feb 7, 2024
1 parent 45cb172 commit 13309dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
runs-on: ubuntu-22.04
container:
image: siliconlabsinc/ot-efr32-dev:latest
options: --user 1001
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:

- name: Test build inside container
run: |
docker run -v ${{ github.workspace }}:/ot-efr32/ --rm ${{ env.TEST_TAG }} script/build --skip-silabs-apps brd4151a
docker run -v ${{ github.workspace }}:/ot-efr32/ --user $(id -u) --rm ${{ env.TEST_TAG }} script/build --skip-silabs-apps brd4151a
- name: Login to DockerHub
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
Expand Down

0 comments on commit 13309dc

Please sign in to comment.