From 2c3dcd13f955c33813771d27f78d336f6116ac3e Mon Sep 17 00:00:00 2001 From: Dimitris Karakasilis Date: Thu, 12 Oct 2023 09:36:36 +0300 Subject: [PATCH] Add required args to the iso earthly target to force the generaction of a proper artifact name Signed-off-by: Dimitris Karakasilis --- Earthfile | 9 +++++++++ 1 file changed, 9 insertions(+) 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