build: Rebase to existing docker-run action
Some checks failed
Container & Helm chart / Semantic Release (Dry-run) (push) Successful in 1m9s
Container & Helm chart / Cluster API node template (push) Failing after 23s

This commit is contained in:
Danny Bessems 2024-06-08 21:28:36 +10:00
parent 64ed3cd449
commit 809574dcd2

View File

@ -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,21 +63,24 @@ 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
run: |
make deps-ova
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
run: |
make build-node-ova-vsphere-ubuntu-2204
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:
# PACKER_LOG: 1