Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

+iso-disk-image: build iso and push iso as a oci image #255

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ ELSE
END

ARG IMAGE_PATH=$IMAGE_REGISTRY/$IMAGE_REPO:$K8S_DISTRIBUTION-$K8S_VERSION-$IMAGE_TAG
ARG ISO_DISK_IMG=$IMAGE_REGISTRY/$IMAGE_REPO:$IMAGE_TAG-iso
ARG CMDLINE="stylus.registration"

build-all-images:
Expand Down Expand Up @@ -866,10 +867,11 @@ iso-image:
SAVE IMAGE palette-installer-image:$IMAGE_TAG

iso-disk-image:
FROM scratch
BUILD +iso

FROM scratch
COPY +iso/*.iso /disk/
SAVE IMAGE --push $IMAGE_REGISTRY/$IMAGE_REPO/$ISO_NAME:$IMAGE_TAG
SAVE IMAGE --push $ISO_DISK_IMG

go-deps:
FROM $SPECTRO_PUB_REPO/golang:${GOLANG_VERSION}-alpine
Expand Down