This is a minimal reproducer requested as part of discussion#23848.
The entry in application-kustomize.yaml spec.source.kustomize.images
is not updated even though there is a newer version for this image (see here).
Renovate updates ghcr.io/j-be/desec-dns-operator
to its most recent version.
npm
- Clone this repo
npm install renovate
LOG_LEVEL=DEBUG npx renovate --platform=local
The log should now contain something like:
DEBUG: packageFiles with updates (repository=local)
"config": {
"argocd": [
{
"deps": [
{
"depName": "ghcr.io/j-be/desec-dns-operator",
"currentValue": "0.1.7",
"datasource": "docker",
"updates": [
{
"bucket": "non-major",
"newVersion": "0.1.9",
"newValue": "0.1.9",
"newMajor": 0,
"newMinor": 1,
"updateType": "patch",
"branchName": "renovate/ghcr.io-j-be-desec-dns-operator-0.x"
}
],
}
],
}
]
}
This can currently be achieved by adding the following to renovate.json
:
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
...
"customManagers": [
{
"customType": "regex",
"fileMatch": [
".*"
],
"matchStrings": [
"\\s+-\\s+.*=(?<depName>.+):(?<currentValue>.+)"
],
"datasourceTemplate": "docker"
}
]
}
Note however, that this does not cover special cases, like e.g. quotes.