Skip to content

Commit f12518d

Browse files
committed
feat: Add Renovate configuration for automatic Docker image updates
- Configured Renovate to track Docker/OCI images in registry YAML files - Set up automatic detection of image versions using regex patterns - Grouped all registry image updates together for easier management - Enabled automerge for patch updates to keep images current - Configured semantic commits for clear update history This will help maintain up-to-date image references across all MCP server entries.
1 parent ca7d1d8 commit f12518d

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

renovate.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:recommended"
5+
],
6+
"labels": ["dependencies"],
7+
"postUpdateOptions": ["gomodTidy"],
8+
"customManagers": [
9+
{
10+
"customType": "regex",
11+
"description": "Update Docker/OCI image versions in registry YAML files",
12+
"fileMatch": ["^registry/.*/spec\\.ya?ml$"],
13+
"matchStrings": [
14+
"image:\\s*[\"']?(?<depName>[^:\"'\\s]+):(?<currentValue>[^\"'\\s]+)[\"']?\\s*(?:#.*)?"
15+
],
16+
"datasourceTemplate": "docker"
17+
}
18+
],
19+
"packageRules": [
20+
{
21+
"description": "Group all registry image updates",
22+
"matchPaths": ["registry/**"],
23+
"groupName": "registry-images",
24+
"groupSlug": "registry-images"
25+
},
26+
{
27+
"description": "Automerge patch updates for registry images",
28+
"matchPaths": ["registry/**"],
29+
"matchUpdateTypes": ["patch"],
30+
"automerge": true
31+
}
32+
],
33+
"prConcurrentLimit": 10,
34+
"prCreation": "immediate",
35+
"semanticCommits": "enabled",
36+
"semanticCommitType": "chore",
37+
"semanticCommitScope": "deps"
38+
}

0 commit comments

Comments
 (0)