fix(renovate): fix custom manager patterns to use globs and fix Tini regex
- managerFilePatterns: use glob "Dockerfile" instead of regex /^Dockerfile$/
(Renovate v37+ uses globs, not /regex/ format)
- Tini regex: fix to handle quoted ENV format ("TINI_VERSION" "v0.19.0")
- SABnzbd: keep as-is (already works)
- par2cmdline: keep as-is (already works)
This commit is contained in:
+6
-18
@@ -4,36 +4,24 @@
|
|||||||
{
|
{
|
||||||
"customType": "regex",
|
"customType": "regex",
|
||||||
"description": "Detect SABnzbd release version pin",
|
"description": "Detect SABnzbd release version pin",
|
||||||
"managerFilePatterns": [
|
"managerFilePatterns": ["Dockerfile"],
|
||||||
"/^Dockerfile$/"
|
"matchStrings": ["SABNZBD_VERSION=(?<currentValue>[0-9.]+)"],
|
||||||
],
|
|
||||||
"matchStrings": [
|
|
||||||
"SABNZBD_VERSION=(?<currentValue>[0-9.]+)"
|
|
||||||
],
|
|
||||||
"depNameTemplate": "sabnzbd/sabnzbd",
|
"depNameTemplate": "sabnzbd/sabnzbd",
|
||||||
"datasourceTemplate": "github-releases"
|
"datasourceTemplate": "github-releases"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"customType": "regex",
|
"customType": "regex",
|
||||||
"description": "Detect Tini release version pin",
|
"description": "Detect Tini release version pin",
|
||||||
"managerFilePatterns": [
|
"managerFilePatterns": ["Dockerfile"],
|
||||||
"/^Dockerfile$/"
|
"matchStrings": ["\"TINI_VERSION\"\\s+\"v?(?<currentValue>[0-9.]+)\""],
|
||||||
],
|
|
||||||
"matchStrings": [
|
|
||||||
"TINI_VERSION\\s+v?(?<currentValue>[0-9.]+)"
|
|
||||||
],
|
|
||||||
"depNameTemplate": "krallin/tini",
|
"depNameTemplate": "krallin/tini",
|
||||||
"datasourceTemplate": "github-releases"
|
"datasourceTemplate": "github-releases"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"customType": "regex",
|
"customType": "regex",
|
||||||
"description": "Detect par2cmdline release version pin",
|
"description": "Detect par2cmdline release version pin",
|
||||||
"managerFilePatterns": [
|
"managerFilePatterns": ["Dockerfile"],
|
||||||
"/^Dockerfile$/"
|
"matchStrings": ["PAR2CMDLINE_VERSION=v?(?<currentValue>[0-9a-z.]+-mt\\d+)"],
|
||||||
],
|
|
||||||
"matchStrings": [
|
|
||||||
"PAR2CMDLINE_VERSION=v?(?<currentValue>[0-9a-z.]+-mt\\d+)"
|
|
||||||
],
|
|
||||||
"depNameTemplate": "jkansanen/par2cmdline-mt",
|
"depNameTemplate": "jkansanen/par2cmdline-mt",
|
||||||
"datasourceTemplate": "github-tags"
|
"datasourceTemplate": "github-tags"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user