From 21dd04cb7db557f2d7e44c50f1b467fe04c8feec Mon Sep 17 00:00:00 2001 From: Dany Marcoux Date: Thu, 19 Dec 2024 22:56:33 +0100 Subject: [PATCH] docs: set org.opencontainers.image.source label in Dockerfile (#3564) 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 Navidrome 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 Signed-off-by: Dany Marcoux --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 2a6ae1b9d..7e9a0c4c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -121,6 +121,7 @@ COPY --from=build /out / ### Build Final Image FROM public.ecr.aws/docker/library/alpine:3.21 AS final LABEL maintainer="deluan@navidrome.org" +LABEL org.opencontainers.image.source="https://github.com/navidrome/navidrome" # Install ffmpeg and mpv RUN apk add -U --no-cache ffmpeg mpv