diff --git a/images/.utils/Earthfile b/images/.utils/Earthfile index 7ac1aac70018af57388b3be6ce34cd86cc7889cb..d7ec501c0329b79bd839e0301553d9693088c15f 100644 --- a/images/.utils/Earthfile +++ b/images/.utils/Earthfile @@ -14,8 +14,9 @@ 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="${source}" + 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.version="${version}" LABEL org.opencontainers.image.description="Container for ${image} by ${authors}" - LABEL org.opencontainers.image.authors="${authors}" \ No newline at end of file + LABEL org.opencontainers.image.authors="${authors}" + LABEL sourcecode=${source} \ No newline at end of file diff --git a/images/cowsay/Earthfile b/images/cowsay/Earthfile index c6035ecc6772a886514116572d4b00b3e7da9ce1..1feb3538cc92ccb866a8a3b056e82b3cbbd37cbf 100644 --- a/images/cowsay/Earthfile +++ b/images/cowsay/Earthfile @@ -44,10 +44,12 @@ build: container-internal: FROM +distroless-perl + ARG branch COPY +build/cowsay /cowsay WORKDIR /workdir ENTRYPOINT [ "/cowsay" ] + DO ../.utils/+LABEL --image=cowsay --version=${branch} --source=https://github.com/cowsay-org/cowsay.git container: FROM ../mirror+golang