renovate/lib/modules/datasource/docker
Johannes Feichtner af75ec2508
fix(datasource/docker): pinDigest PRs missing digest value in name (#17599)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-09-03 10:50:46 +00:00
..
common.ts feat(datasource/docker): populate gitRef from OCI annotation (#16859) 2022-08-03 06:00:21 +00:00
index.spec.ts fix(docker): support nvcr.io tag listing (#17294) 2022-08-21 14:14:55 +02:00
index.ts fix(datasource/docker): pinDigest PRs missing digest value in name (#17599) 2022-09-03 10:50:46 +00:00
readme.md feat(datasource/docker): populate gitRef from OCI annotation (#16859) 2022-08-03 06:00:21 +00:00
types.ts feat(datasource/docker): add support for architecture-specific image digests (#16554) 2022-08-17 20:57:48 +00:00

This datasource identifies an image's source repository according to the pre-defined annotation keys of the OCI Image Format Specification.

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. Additionally, it uses the value of the label org.opencontainers.image.revision as the gitRef.

The Label Schema is superseded by OCI annotations, use the org.opencontainers.image.source label if possible.

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:

LABEL org.opencontainers.image.source="https://github.com/renovatebot/renovate"