Skip to content

Commit afce6fb

Browse files
authored
Merge pull request #1084 from rackerlabs/update-renovate
fix: renovate needs to update to handle digest pinning
2 parents 507740e + 69a7f2d commit afce6fb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/renovate/understackContainerMatch.json

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

0 commit comments

Comments
 (0)