Skip to content

Commit 54e612f

Browse files
committed
fix: attempt to update understack container matching for renovate
Update to include understack/ in the depName match. Adjust the currentVersion to only take things prefixed with v followed by numbers. Drop the versioningTemplate since docker tags are not semver but renovate should use the correct default.
1 parent be85a5d commit 54e612f

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,12 +5,10 @@
55
"customType": "regex",
66
"fileMatch": ["(^|/)images-openstack\\.ya?ml$"],
77
"matchStrings": [
8-
"ghcr\\.io/rackerlabs/understack/(?<depName>[\\w-]+):(?<currentValue>[\\w.-]+)"
8+
"ghcr\\.io/rackerlabs/(?<depName>understack/[\\w\\-]+):(?<currentValue>v[\\d\\.]+)"
99
],
1010
"datasourceTemplate": "docker",
11-
"packageNameTemplate": "ghcr.io/rackerlabs/understack/{{depName}}",
12-
"versioningTemplate": "semver",
13-
"extractVersionTemplate": "{{currentValue}}"
11+
"packageNameTemplate": "ghcr.io/rackerlabs/{{depName}}"
1412
}
1513
]
1614
}

0 commit comments

Comments
 (0)