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:
1 parent
754029d7e1
commit
d59bd5ef4f
1 file changed
+2
-2
+2
-2
@@ -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"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user