Skip to content

Commit f2b9835

Browse files
committed
fix(renovate): update rule for keeping containers current
This should match ALL containers that are referenced in the images-openstack.yaml file and not just those in this repo's container registry. ref: PUC-1004
1 parent fc0b1d4 commit f2b9835

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/renovate/understackContainerMatch.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
"customType": "regex",
66
"fileMatch": ["(^|/)images-openstack\\.ya?ml$"],
77
"matchStrings": [
8-
"ghcr\\.io/rackerlabs/(?<depName>understack/[\\w\\-]+)(?::(?<currentValue>[-a-zA-Z0-9.]+))?(?:@(?<currentDigest>sha256:[a-zA-Z0-9]+))?"
8+
"(?<registryUrl>[a-zA-Z0-9.-]+(?:\\:[0-9]+)?)/(?<depName>[^\\s:@]+)(?::(?<currentValue>[-a-zA-Z0-9.]+))?(?:@(?<currentDigest>sha256:[a-zA-Z0-9]+))?"
99
],
1010
"datasourceTemplate": "docker",
11-
"packageNameTemplate": "ghcr.io/rackerlabs/{{depName}}",
12-
"autoReplaceStringTemplate": "ghcr.io/rackerlabs/{{{depName}}}:{{{newValue}}}{{#if newDigest}}@{{{newDigest}}}{{/if}}"
11+
"packageNameTemplate": "{{registryUrl}}/{{depName}}",
12+
"autoReplaceStringTemplate": "{{registryUrl}}/{{{depName}}}:{{{newValue}}}{{#if newDigest}}@{{{newDigest}}}{{/if}}"
1313
}
1414
],
1515
"packageRules": [

0 commit comments

Comments
 (0)