build: Rebase to existing docker-run action
This commit is contained in:
parent
64ed3cd449
commit
809574dcd2
@ -56,9 +56,6 @@ jobs:
|
||||
|
||||
build_image:
|
||||
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
|
||||
@ -66,19 +63,22 @@ jobs:
|
||||
# needs: [semrel_dryrun, linting]
|
||||
needs: semrel_dryrun
|
||||
steps:
|
||||
- name: Setup Node
|
||||
run: |
|
||||
apt-get update && apt-get install -y --no-install-recommends \
|
||||
npm
|
||||
npm install npm@latest -g
|
||||
npm install n -g
|
||||
n latest
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Install dependencies
|
||||
uses: addnab/docker-run-action@v3
|
||||
with:
|
||||
registry: registry.k8s.io
|
||||
image: scl-image-builder/cluster-node-image-builder-amd64:v0.1.29
|
||||
# options: --user root
|
||||
run: |
|
||||
make deps-ova
|
||||
- name: Build node template
|
||||
uses: addnab/docker-run-action@v3
|
||||
with:
|
||||
registry: registry.k8s.io
|
||||
image: scl-image-builder/cluster-node-image-builder-amd64:v0.1.29
|
||||
# options: --user root
|
||||
run: |
|
||||
make build-node-ova-vsphere-ubuntu-2204
|
||||
# env:
|
||||
|
Loading…
Reference in New Issue
Block a user