fix(renovate): use lookbehind and correct replacement variables

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
This commit is contained in:
Mohammed NaserandClaude Opus 4.5 committed 2026-01-31 14:04:10 -05:00
1 parent 791ddc3201
commit 754029d7e1
1 file changed
+2 -2
+2 -2
View File
@@ -24,9 +24,9 @@
"customType": "regex",
"fileMatch": ["roles/defaults/vars/main.yml"],
"matchStrings": [
"(?<prefix>\\{\\{ atmosphere_image_prefix \\}\\})(?<depName>[^:]+):(?<currentValue>[^@\\s\"]+)(@(?<currentDigest>sha256:[a-f0-9]+))?"
"(?<=\\{\\{ atmosphere_image_prefix \\}\\})(?<depName>[^:]+):(?<currentValue>[^@\\s\"]+)(@(?<currentDigest>sha256:[a-f0-9]+))?"
],
"autoReplaceStringTemplate": "{{{prefix}}}{{{depName}}}:{{{currentValue}}}@{{{currentDigest}}}",
"autoReplaceStringTemplate": "{{{depName}}}:{{{newValue}}}@{{{newDigest}}}",
"datasourceTemplate": "docker"
}
]