Skip to content
Snippets Groups Projects
Verified Commit 6505a78d authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

feat(cowsay): Add image metadata

parent bc890864
No related branches found
No related tags found
No related merge requests found
Pipeline #18600 passed
...@@ -14,8 +14,9 @@ LABEL: ...@@ -14,8 +14,9 @@ LABEL:
ARG authors="Sheogorath" ARG authors="Sheogorath"
ARG source="https://git.shivering-isles.com/shivering-isles/infrastructure-gitops/-/tree/main/images/${image}" 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.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.url="https://git.shivering-isles.com/shivering-isles/infrastructure-gitops/-/tree/main/images/${image}"
LABEL org.opencontainers.image.version="${version}" LABEL org.opencontainers.image.version="${version}"
LABEL org.opencontainers.image.description="Container for ${image} by ${authors}" LABEL org.opencontainers.image.description="Container for ${image} by ${authors}"
LABEL org.opencontainers.image.authors="${authors}" LABEL org.opencontainers.image.authors="${authors}"
\ No newline at end of file LABEL sourcecode=${source}
\ No newline at end of file
...@@ -44,10 +44,12 @@ build: ...@@ -44,10 +44,12 @@ build:
container-internal: container-internal:
FROM +distroless-perl FROM +distroless-perl
ARG branch
COPY +build/cowsay /cowsay COPY +build/cowsay /cowsay
WORKDIR /workdir WORKDIR /workdir
ENTRYPOINT [ "/cowsay" ] ENTRYPOINT [ "/cowsay" ]
DO ../.utils/+LABEL --image=cowsay --version=${branch} --source=https://github.com/cowsay-org/cowsay.git
container: container:
FROM ../mirror+golang FROM ../mirror+golang
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment