From 5bc0f5435733d69a1d37dd7099fbc908a06d6b4a Mon Sep 17 00:00:00 2001 From: Nianyu Shen Date: Mon, 8 Jul 2024 11:14:34 -0700 Subject: [PATCH] fix build Signed-off-by: Nianyu Shen --- Earthfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Earthfile b/Earthfile index 2c99bcc..40639d2 100644 --- a/Earthfile +++ b/Earthfile @@ -86,7 +86,6 @@ ELSE IF [ "$OS_DISTRIBUTION" = "rhel" ] || [ "$OS_DISTRIBUTION" = "sles" ] ARG BASE_IMAGE END -ARG PROVIDER_BASE IF [ "$K8S_DISTRIBUTION" = "kubeadm" ] ARG PROVIDER_BASE=$SPECTRO_PUB_REPO/kairos-io/provider-kubeadm:$KUBEADM_PROVIDER_VERSION ELSE IF [ "$K8S_DISTRIBUTION" = "kubeadm-fips" ] @@ -97,6 +96,8 @@ ELSE IF [ "$K8S_DISTRIBUTION" = "rke2" ] && $FIPS_ENABLED ARG PROVIDER_BASE=$SPECTRO_PUB_REPO/kairos-io/provider-rke2-fips:$RKE2_PROVIDER_VERSION ELSE IF [ "$K8S_DISTRIBUTION" = "rke2" ] ARG PROVIDER_BASE=$SPECTRO_PUB_REPO/kairos-io/provider-rke2:$RKE2_PROVIDER_VERSION +ELSE + ARG PROVIDER_BASE END IF [ "$K8S_DISTRIBUTION" = "kubeadm" ] || [ "$K8S_DISTRIBUTION" = "kubeadm-fips" ]