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

ci(opentf): Fix source URLs and authors in labels

parent 3caf0f16
No related branches found
No related tags found
No related merge requests found
VERSION 0.7
VERSION --earthly-git-author-args 0.7
SCAN:
COMMAND
......@@ -10,11 +10,12 @@ SCAN:
LABEL:
COMMAND
ARG image
ARG EARTHLY_GIT_CO_AUTHORS
ARG EARTHLY_GIT_BRANCH
ARG version="main"
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.source="${source}"
LABEL org.opencontainers.image.url="https://git.shivering-isles.com/shivering-isles/infrastructure-gitops/-/tree/main/images/${image}"
LABEL org.opencontainers.image.version="${EARTHLY_GIT_BRANCH}"
LABEL org.opencontainers.image.description="Container for ${image} by ${author}"
LABEL org.opencontainers.image.authors="${EARTHLY_GIT_CO_AUTHORS}"
\ No newline at end of file
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
......@@ -25,7 +25,7 @@ container-internal:
COPY +build/tofu /usr/local/bin/opentofu
COPY +build/tofu /usr/local/bin/opentf
ENTRYPOINT ["/usr/local/bin/tofu"]
DO ../.utils/+LABEL --image=opentf --version=${branch}
DO ../.utils/+LABEL --image=opentf --version=${branch} --source=https://github.com/opentofu/opentofu.git
container:
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