chore: Specify user to run action steps as
Some checks failed
Container & Helm chart / Semantic Release (Dry-run) (push) Successful in 1m17s
Container & Helm chart / Cluster API node template (push) Failing after 1m20s

This commit is contained in:
Danny Bessems 2024-06-08 21:10:16 +10:00
parent bbaff25725
commit 64ed3cd449

View File

@ -58,6 +58,7 @@ jobs:
name: Cluster API node template name: Cluster API node template
container: container:
image: registry.k8s.io/scl-image-builder/cluster-node-image-builder-amd64:v0.1.29 image: registry.k8s.io/scl-image-builder/cluster-node-image-builder-amd64:v0.1.29
options: --user root
# volumes: # volumes:
# - /data:/data # - /data:/data
# - /output:/output # - /output:/output
@ -67,7 +68,7 @@ jobs:
steps: steps:
- name: Setup Node - name: Setup Node
run: | 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
npm install npm@latest -g npm install npm@latest -g
npm install n -g npm install n -g