diff --git a/Earthfile b/Earthfile index 2451ddaeae6c1be527946ab4f4f6afecb8abdf3f..ecf548d0ad2f2db918a9c43444ff1100fd826b91 100644 --- a/Earthfile +++ b/Earthfile @@ -3,7 +3,8 @@ VERSION --wait-block 0.7 # images builds all container images in the Repository images: ARG CONTAINER_REGISTRY=quay.io/shivering-isles - BUILD +images-earthly --CONTAINER_REGISTRY=${CONTAINER_REGISTRY} + ARG latest=false + BUILD +images-earthly --CONTAINER_REGISTRY=${CONTAINER_REGISTRY} --latest=$latest images-src: FROM quay.io/fedora/fedora:39 @@ -12,8 +13,9 @@ images-src: images-earthly: FROM +images-src ARG CONTAINER_REGISTRY=quay.io/shivering-isles + ARG latest=false FOR dir IN $(find ./images -type d -execdir test -f {}/Earthfile -a \! -e {}/.skip-earthly \; -print) - BUILD "${dir}+container" --registry="$CONTAINER_REGISTRY/$(basename ${dir})" + BUILD "${dir}+container" --registry="$CONTAINER_REGISTRY/$(basename ${dir})" --latest=$latest END # changelog generates a local RELEASENOTES.md file using git-chglog