fix regex syntax

This commit is contained in:
Robert Kaussow 2023-03-22 08:29:41 +01:00
parent 8d1f4693f8
commit c67d228ae2
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
1 changed files with 5 additions and 5 deletions

View File

@ -3,14 +3,14 @@
"description": ["Preset for use with kubernetes repositories"],
"extends": ["github>thegeeklab/renovate-presets:base"],
"flux": {
"fileMatch": ["flux/.+\\.ya?ml$"]
"fileMatch": ["^flux/.+\\.ya?ml$"]
},
"helm-values": {
"fileMatch": ["flux/(.+/)patch(HelmRelease)\\.ya?ml$"],
"fileMatch": ["^flux/(.+/)patch(HelmRelease)\\.ya?ml$"],
"pinDigests": true
},
"kubernetes": {
"fileMatch": ["flux/(.+/)patch(Deployment|Cluster)\\.ya?ml$"]
"fileMatch": ["^flux/(.+/)patch(Deployment|Cluster)\\.ya?ml$"]
},
"packageRules": [
{
@ -36,9 +36,9 @@
],
"regexManagers": [
{
"fileMatch": ["flux/(.+/)patch(Cluster)\\.ya?ml$"],
"fileMatch": ["^flux/(.+/)patch(Cluster)\\.ya?ml$"],
"matchStrings": [
"^\\s+(imageName):\\s+\"?'?(?<depName>[^:\\s]+):(?<currentValue>[^\"'@]+?)(@(?<currentDigest>sha256:[a-f0-9]+))?\"?'?\\s"
"\\s+(imageName):\\s+\"?'?(?<depName>[^:\\s]+):(?<currentValue>[^\"'@]+?)(@(?<currentDigest>sha256:[a-f0-9]+))?\"?'?\\s"
],
"datasourceTemplate": "docker"
}