ac78fbbf76
fileMatch without / / delimiters is treated as glob, not regex. Use /^Dockerfile$/ format. Also adopt [\\w\\.-]+ version pattern and add versioningTemplate: semver per user's working config style.
32 lines
1.1 KiB
JSON
32 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"description": "Detect SABnzbd release version pin",
|
|
"fileMatch": ["/^Dockerfile$/"],
|
|
"matchStrings": ["SABNZBD_VERSION=(?<currentValue>[\\w\\.-]+)"],
|
|
"depNameTemplate": "sabnzbd/sabnzbd",
|
|
"datasourceTemplate": "github-releases",
|
|
"versioningTemplate": "semver"
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"description": "Detect Tini release version pin",
|
|
"fileMatch": ["/^Dockerfile$/"],
|
|
"matchStrings": ["\"TINI_VERSION\"\\s+\"v?(?<currentValue>[\\w\\.-]+)\""],
|
|
"depNameTemplate": "krallin/tini",
|
|
"datasourceTemplate": "github-releases",
|
|
"versioningTemplate": "semver"
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"description": "Detect par2cmdline release version pin",
|
|
"fileMatch": ["/^Dockerfile$/"],
|
|
"matchStrings": ["PAR2CMDLINE_VERSION=v?(?<currentValue>[\\w\\.-]+)"],
|
|
"depNameTemplate": "jkansanen/par2cmdline-mt",
|
|
"datasourceTemplate": "github-tags",
|
|
"versioningTemplate": "semver"
|
|
}
|
|
]
|
|
} |