fix(renovate): use captured prefix with newValue/newDigest

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:10:26 -05:00
1 parent 754029d7e1
commit d59bd5ef4f
1 file changed
+2 -2
+2 -2
View File
@@ -24,9 +24,9 @@
"customType": "regex",
"fileMatch": ["roles/defaults/vars/main.yml"],
"matchStrings": [
"(?<=\\{\\{ atmosphere_image_prefix \\}\\})(?<depName>[^:]+):(?<currentValue>[^@\\s\"]+)(@(?<currentDigest>sha256:[a-f0-9]+))?"
"(?<prefix>\\{\\{ atmosphere_image_prefix \\}\\})(?<depName>[^:]+):(?<currentValue>[^@\\s\"]+)(@(?<currentDigest>sha256:[a-f0-9]+))?"
],
"autoReplaceStringTemplate": "{{{depName}}}:{{{newValue}}}@{{{newDigest}}}",
"autoReplaceStringTemplate": "{{{prefix}}}{{{depName}}}:{{{newValue}}}@{{{newDigest}}}",
"datasourceTemplate": "docker"
}
]