From 673db41f37714e0ae2d2beca1876d81a432bf8cc Mon Sep 17 00:00:00 2001 From: Kyle Brown Date: Thu, 16 Feb 2023 12:36:40 -0700 Subject: [PATCH] build(docker): add image source label (#288) This adds the `org.opencontainers.image.source` label pointing to this repository for cross-referencing information. For example: https://github.com/renovatebot/renovate/blob/main/lib/modules/datasource/docker/readme.md --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d93ea2b..ad837d5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,9 +41,10 @@ COPY --from=builder /go/bin/api /app RUN chmod +x /app/api LABEL Name=homebox Version=0.0.1 +LABEL org.opencontainers.image.source="https://github.com/hay-kot/homebox" EXPOSE 7745 WORKDIR /app VOLUME [ "/data" ] ENTRYPOINT [ "/app/api" ] -CMD [ "/data/config.yml" ] \ No newline at end of file +CMD [ "/data/config.yml" ]