Configure renovate custom regex manager to update compose references

Signed-off-by: Miguel Martín <mmartinv@redhat.com>
This commit is contained in:
Miguel Martín 2025-05-15 01:51:54 +02:00
parent c4ea4e2375
commit c3f9ccde05
No known key found for this signature in database
GPG key ID: 399C0C41974AC700

View file

@ -37,6 +37,27 @@
}
]
},
"customManagers": [
{
"customType": "regex",
"description": [
"Update 'REPOS_IMAGE' and 'BUILDER_IMAGE' in tekton files"
],
"baseBranches": [
"main"
],
"fileMatch": [
".tekton/.*\\.yaml$",
".tekton/.*\\.yml$"
],
"matchStrings": [
"REPOS_IMAGE=(?<depName>.*):(?<currentValue>.*)@(?<currentDigest>.*)\\n",
"BUILDER_IMAGE=(?<depName>.*):(?<currentValue>.*)@(?<currentDigest>.*)\\n"
],
"versioningTemplate": "regex:(?<compatibility>.*)-(?<minor>\\d{8})(\\.n)?\\.(?<build>\\d)",
"datasourceTemplate": "docker"
}
],
"baseBranches": ["main", "f40", "f41"],
"packageRules": [
{