From 1b94864deca192dc88b729ac4e32d24c49164838 Mon Sep 17 00:00:00 2001 From: Michael Jonathan Lee Date: Fri, 20 Dec 2024 19:05:57 +0000 Subject: [PATCH] build firmware as host user in action --- .github/workflows/build-firmware.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-firmware.yml b/.github/workflows/build-firmware.yml index 18bbb304..67c2c93a 100644 --- a/.github/workflows/build-firmware.yml +++ b/.github/workflows/build-firmware.yml @@ -20,7 +20,7 @@ jobs: run: ls -1 tools/docker/build.Dockerfile && docker build -t tbd_firmware -f tools/docker/build.Dockerfile $PWD - name: build firmware - run: docker run -v $PWD:/code tbd_firmware ${{ inputs.tbd-platform }} configure bin + run: docker run --user "$(id -u):$(id -g)" -v $PWD:/code tbd_firmware ${{ inputs.tbd-platform }} configure bin - name: upload firmware uses: actions/upload-artifact@v4