From 21e882eefc6872bb5664a1b9d90eb7a3d8b0124a Mon Sep 17 00:00:00 2001 From: Ramon Roche Date: Fri, 9 Aug 2024 09:00:14 -0700 Subject: [PATCH] ci: set container user --- .github/workflows/build_all_targets.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_all_targets.yml b/.github/workflows/build_all_targets.yml index 7646c5c565..bd1e921de3 100644 --- a/.github/workflows/build_all_targets.yml +++ b/.github/workflows/build_all_targets.yml @@ -8,7 +8,9 @@ on: jobs: group_targets: runs-on: self-hosted - container: px4io/px4-dev-base-focal:2021-09-08 + container: + image: px4io/px4-dev-base-focal:2021-09-08 + options: --user 1000 outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: @@ -24,7 +26,9 @@ jobs: needs: group_targets strategy: matrix: ${{ fromJson(needs.group_targets.outputs.matrix) }} - container: ${{ matrix.container }} + container: + image: ${{ matrix.container }} + options: --user 1000 steps: - uses: actions/checkout@v1 with: