Files
renovate/lib/modules/datasource/docker
Jamie Tanna 97d64324eb docs(docker): note digests may have an incorrect releaseTimestamp (#38658)
Until the completion of #38659, we should make it clearer that digests
do not have a `releaseTimestamp` associated with them.

This will also be improved in #38656 to provide the correct
`releaseTimestamp` of a given digest.

As flagged in #38212, this can lead to digests looking newer than they
are, and possibly cause `minimumReleaseAge` not to work.

We should surface this to users, and point to the issue for
documentation purposes.
2025-11-05 13:54:19 +00:00
..
2025-03-13 17:52:09 +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"

If you use Harbor as a proxy cache for Docker Hub, then you must use Harbor version 2.5.0 or higher.