From 64ed3cd449c1da90aa3742d445e791c42565a87e Mon Sep 17 00:00:00 2001 From: djpbessems Date: Sat, 8 Jun 2024 21:10:16 +1000 Subject: [PATCH] chore: Specify user to run action steps as --- .gitea/workflows/actions.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml index 1b840ef..5f3842d 100644 --- a/.gitea/workflows/actions.yaml +++ b/.gitea/workflows/actions.yaml @@ -58,6 +58,7 @@ jobs: name: Cluster API node template container: image: registry.k8s.io/scl-image-builder/cluster-node-image-builder-amd64:v0.1.29 + options: --user root # volumes: # - /data:/data # - /output:/output @@ -67,7 +68,7 @@ jobs: steps: - name: Setup Node run: | - sudo apt-get update && sudo apt-get install -y --no-install-recommends \ + apt-get update && apt-get install -y --no-install-recommends \ npm npm install npm@latest -g npm install n -g