chore: Specify user to run action steps as
This commit is contained in:
parent
bbaff25725
commit
64ed3cd449
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user