diff --git a/images/koolbox/.release b/images/koolbox/.release deleted file mode 100644 index 81392602ca60700756708cce8a5c159c91423b4d..0000000000000000000000000000000000000000 --- a/images/koolbox/.release +++ /dev/null @@ -1 +0,0 @@ -release=0.5.1 diff --git a/images/koolbox/Earthfile b/images/koolbox/Earthfile index fc06b715f9c67a875c88dba46a4695f2256ae8a9..10c9aaa899120de68f396f543cb8ccc55a42ba46 100644 --- a/images/koolbox/Earthfile +++ b/images/koolbox/Earthfile @@ -75,8 +75,6 @@ container-internal: container: FROM ../mirror+alpine ARG registry=quay.io/shivering-isles/koolbox - COPY .release ./ - ARG tag=$(awk -F'=' '$1 == "release" {print $2}' .release) ARG latest=false IF [ $latest = "true" ] FROM +container-internal @@ -85,7 +83,8 @@ container: FROM +container-internal LABEL "quay.expires-after"="12w" END - SAVE IMAGE --push ${registry}:${tag} + SAVE IMAGE --push ${registry}:$(date +%Y.%m) + SAVE IMAGE --push ${registry}:$(date +%Y.%m.%d) install: BUILD +container --latest=true