Skip to content

Commit 9682649

Browse files
committed
fix(renovate): simplify the container match rule
This should hopefully simplify the whole match and just support docker container image references in general. Looks like some of the prior things I had been doing are no longer required but are still showing up in searches and results on renovate's site but its all been upstreamed.
1 parent 8d268a7 commit 9682649

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/renovate/understackContainerMatch.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@
55
"customType": "regex",
66
"fileMatch": ["(^|/)images-openstack\\.ya?ml$"],
77
"matchStrings": [
8-
"(?<registryUrl>[a-zA-Z0-9.-]+(?:\\:[0-9]+)?)/(?<depName>[^\\s:@]+)(?::(?<currentValue>[-a-zA-Z_0-9.]+))?(?:@(?<currentDigest>sha256:[a-zA-Z0-9]+))?"
8+
":\\s+\"+(?<depName>[^\\s:@\"]+)(?::(?<currentValue>[-a-zA-Z_0-9.]+))?(?:@(?<currentDigest>sha256:[a-zA-Z0-9]+))\"?"
99
],
10-
"datasourceTemplate": "docker",
11-
"packageNameTemplate": "{{registryUrl}}/{{depName}}",
12-
"autoReplaceStringTemplate": "{{registryUrl}}/{{{depName}}}:{{{newValue}}}{{#if newDigest}}@{{{newDigest}}}{{/if}}"
10+
"datasourceTemplate": "docker"
1311
}
1412
],
1513
"packageRules": [

0 commit comments

Comments
 (0)