build: Rebase to existing docker-run action
This commit is contained in:
parent
64ed3cd449
commit
809574dcd2
@ -56,9 +56,6 @@ jobs:
|
|||||||
|
|
||||||
build_image:
|
build_image:
|
||||||
name: Cluster API node template
|
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:
|
# volumes:
|
||||||
# - /data:/data
|
# - /data:/data
|
||||||
# - /output:/output
|
# - /output:/output
|
||||||
@ -66,21 +63,24 @@ jobs:
|
|||||||
# needs: [semrel_dryrun, linting]
|
# needs: [semrel_dryrun, linting]
|
||||||
needs: semrel_dryrun
|
needs: semrel_dryrun
|
||||||
steps:
|
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
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
uses: addnab/docker-run-action@v3
|
||||||
make deps-ova
|
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
|
- name: Build node template
|
||||||
run: |
|
uses: addnab/docker-run-action@v3
|
||||||
make build-node-ova-vsphere-ubuntu-2204
|
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:
|
# env:
|
||||||
# PACKER_LOG: 1
|
# PACKER_LOG: 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user