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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user