From 6482274f0cbed9631cc6295edb57435a4c265e25 Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Wed, 8 Nov 2023 16:57:42 +0100 Subject: [PATCH] ci(images): Adjust include setup in earthly target --- images/koolbox/Earthfile | 7 ++++++- images/koolbox/README.md | 2 +- images/synadm/Earthfile | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/images/koolbox/Earthfile b/images/koolbox/Earthfile index cb4855f5b..01613226e 100644 --- a/images/koolbox/Earthfile +++ b/images/koolbox/Earthfile @@ -84,4 +84,9 @@ container: FROM +container-internal LABEL "quay.expires-after"="12w" END - SAVE IMAGE --push ${registry}:${tag} \ No newline at end of file + SAVE IMAGE --push ${registry}:${tag} + +install: + BUILD +container --latest=true + LOCALLY + RUN install -m 755 ./koolbox ~/bin/koolbox diff --git a/images/koolbox/README.md b/images/koolbox/README.md index 9d248b3d5..90f93761f 100644 --- a/images/koolbox/README.md +++ b/images/koolbox/README.md @@ -13,7 +13,7 @@ Have podman installed. And in best case running [Fedora Workstation](https://get Installation --- -Run `make install`. And if you want to build the container locally run `make build`. +Run `earthly ./+install`. And if you want to build the container locally run `earthly ./+container`. Usage --- diff --git a/images/synadm/Earthfile b/images/synadm/Earthfile index 9d9d8eb33..337839aa1 100644 --- a/images/synadm/Earthfile +++ b/images/synadm/Earthfile @@ -23,6 +23,6 @@ container: SAVE IMAGE --push ${registry}:${tag} install: - BUILD +container + BUILD +container --latest=true LOCALLY - RUN install -m 755 ./synadm ~/bin/synadm \ No newline at end of file + RUN install -m 755 ./synadm ~/bin/synadm \ No newline at end of file -- GitLab