From c3b004f8448de6904ed015c80ba86d076356d5ee Mon Sep 17 00:00:00 2001 From: Ani Argjiri Date: Tue, 19 Nov 2024 14:21:31 +0100 Subject: [PATCH] feat: using root user in runner container --- .github/workflows/main.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index d084bdc..5852402 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -26,7 +26,10 @@ env: jobs: build-test-push-release: if: "((contains(github.event.head_commit.message, 'chore(release)') && github.ref == 'refs/heads/main') || !contains(github.event.head_commit.message, 'chore(release)')) && !contains(github.event.head_commit.message, 'ci skip') && !startsWith(github.ref, 'refs/tags/')" - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 + container: + image: linode/apl-tools:v2.8.2 + options: --user 0 # See https://docs.github.com/en/actions/sharing-automations/creating-actions/dockerfile-support-for-github-actions#user steps: - name: Set env run: |