From 88c99bf1f37cad03422087d6bb295d440fd79eac Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Thu, 26 May 2022 07:49:32 +0200 Subject: [PATCH] docs(docker): explain how to get Renovate to fetch release notes (#15726) --- lib/modules/datasource/docker/readme.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/modules/datasource/docker/readme.md b/lib/modules/datasource/docker/readme.md index 3a2a29ba98..ab423d1709 100644 --- a/lib/modules/datasource/docker/readme.md +++ b/lib/modules/datasource/docker/readme.md @@ -3,3 +3,11 @@ This datasource identifies an image's source repository according to the [pre-de This datasource looks for the metadata of the **latest stable** image found on the Docker registry and uses the value of the label `org.opencontainers.image.source` and `org.label-schema.vcs-url` as the `sourceUrl`. The [Label Schema](https://label-schema.org/) is superseded by OCI annotations, therefore `org.opencontainers.image.source` label should be preferred. + +If you maintain a Docker image and want Renovate to find your changelogs, add a `org.opencontainers.image.source` field to your Dockerfile. +The link must point to your GitHub or GitLab repository. +Here's an example from our `renovate/renovate` Dockerfile: + +```dockerfile +LABEL org.opencontainers.image.source="https://github.com/renovatebot/renovate" +``` -- GitLab