diff --git a/Earthfile b/Earthfile index feb5cc2a1..299e5177d 100644 --- a/Earthfile +++ b/Earthfile @@ -507,6 +507,7 @@ base-image: SAVE ARTIFACT /etc/kairos/versions.yaml versions.yaml AS LOCAL build/versions.yaml image-rootfs: + ARG --required FAMILY ARG --required FLAVOR ARG --required BASE_IMAGE ARG --required MODEL @@ -616,6 +617,14 @@ iso: COPY +version/VERSION ./ ARG VERSION=$(cat VERSION) ARG TARGETARCH + + # args for base-image target + ARG --required FAMILY + ARG --required FLAVOR + ARG --required BASE_IMAGE + ARG --required MODEL + ARG --required VARIANT + ARG ISO_NAME=${OS_ID}-${VARIANT}-${FLAVOR}-${TARGETARCH}-${MODEL}-${VERSION} ARG OSBUILDER_IMAGE FROM $OSBUILDER_IMAGE