From c83bce6f84f66ff57e3fb98bb93ee1efd2335e6e Mon Sep 17 00:00:00 2001 From: Dany Marcoux Date: Thu, 19 Dec 2024 22:41:33 +0100 Subject: [PATCH] Set org.opencontainers.image.source label in Dockerfile As documented in the OCI Image Format, org.opencontainers.image.source[1] identifies an image's source repository. This is purely for documentation purposes. It does however help tools such as Renovate[2] to find the changelogs when a new Traggo version is released. The changelogs would then be included in the PR Renovate creates. [1]: https://github.com/opencontainers/image-spec/blob/5325ec48851022d6ded604199a3566254e72842a/annotations.md#L24 [2]: https://docs.renovatebot.com/modules/datasource/docker/#description --- docker/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index 6a350ea..4673502 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,5 @@ FROM scratch +LABEL org.opencontainers.image.source="https://github.com/traggo/server" WORKDIR /opt/traggo COPY traggo /opt/traggo EXPOSE 3030