Skip to content

Commit 8bbdc66

Browse files
authored
fix: Switch Renovate to track Docker images instead of GitHub releases (#720)
1 parent 54302b1 commit 8bbdc66

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

renovate.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,13 @@
99
{
1010
"customType": "regex",
1111
"description": "Update ToolHive version in constants.ts",
12-
"managerFilePatterns": ["^utils/constants\\.ts$"],
12+
"managerFilePatterns": ["utils/constants\\.ts"],
1313
"matchStrings": [
14-
"export\\s+const\\s+TOOLHIVE_VERSION\\s*=\\s*process\\.env\\.THV_VERSION\\s*\\?\\?\\s*'(?<currentValue>v\\d+\\.\\d+\\.\\d+)'"
14+
"export\\s+const\\s+TOOLHIVE_VERSION\\s*=\\s*process\\.env\\.THV_VERSION\\s*\\?\\?\\s*'v?(?<currentValue>\\d+\\.\\d+\\.\\d+)'"
1515
],
16-
"depNameTemplate": "toolhive",
17-
"packageNameTemplate": "stacklok/toolhive",
18-
"datasourceTemplate": "github-releases",
19-
"versioningTemplate": "semver"
16+
"depNameTemplate": "ghcr.io/stacklok/toolhive",
17+
"datasourceTemplate": "docker",
18+
"extractVersionTemplate": "^v?(?<version>.*)$"
2019
}
2120
]
2221
}

0 commit comments

Comments
 (0)