From b75965ef173494222df387a6f59184482289c3bf Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Tue, 2 Jan 2024 03:46:18 +0100 Subject: [PATCH] chore(images): Fix image metadata --- images/.utils/Earthfile | 4 ++-- images/cowsay/Earthfile | 2 +- images/koolbox/Earthfile | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/images/.utils/Earthfile b/images/.utils/Earthfile index d7ec501c0..94454fa9e 100644 --- a/images/.utils/Earthfile +++ b/images/.utils/Earthfile @@ -14,8 +14,8 @@ LABEL: ARG authors="Sheogorath" ARG source="https://git.shivering-isles.com/shivering-isles/infrastructure-gitops/-/tree/main/images/${image}" LABEL org.opencontainers.image.title="${image}" - LABEL org.opencontainers.image.source="https://git.shivering-isles.com/shivering-isles/infrastructure-gitops/-/tree/main/images/${image}" - LABEL org.opencontainers.image.url="https://git.shivering-isles.com/shivering-isles/infrastructure-gitops/-/tree/main/images/${image}" + LABEL org.opencontainers.image.source="${source}" + LABEL org.opencontainers.image.url="${source}" LABEL org.opencontainers.image.version="${version}" LABEL org.opencontainers.image.description="Container for ${image} by ${authors}" LABEL org.opencontainers.image.authors="${authors}" diff --git a/images/cowsay/Earthfile b/images/cowsay/Earthfile index 6d0ef5a70..b1b325b58 100644 --- a/images/cowsay/Earthfile +++ b/images/cowsay/Earthfile @@ -49,7 +49,7 @@ container-internal: WORKDIR /workdir ENTRYPOINT [ "/cowsay" ] - DO ../.utils/+LABEL --image=cowsay --version=${branch} --source=https://github.com/cowsay-org/cowsay.git + DO ../.utils/+LABEL --image=cowsay --version=${branch} container: FROM ../mirror+golang diff --git a/images/koolbox/Earthfile b/images/koolbox/Earthfile index 01613226e..fc06b715f 100644 --- a/images/koolbox/Earthfile +++ b/images/koolbox/Earthfile @@ -69,6 +69,7 @@ container-internal: # Create workspace RUN mkdir /workspace WORKDIR /workspace + DO ../.utils/+LABEL --image=koolbox --version=${branch} container: -- GitLab