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" ]