fix(renovate): use /regex/ delimiters in fileMatch + proven match pattern
Docker Build and Push / lint (pull_request) Successful in 14s
Docker Build and Push / build (pull_request) Successful in 45s
Docker Build and Push / test (pull_request) Successful in 17s
Docker Build and Push / push (pull_request) Has been skipped

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.
This commit is contained in:
2026-06-12 10:45:52 -04:00
parent 0480cc4c7e
commit ac78fbbf76
+12 -9
View File
@@ -4,26 +4,29 @@
{
"customType": "regex",
"description": "Detect SABnzbd release version pin",
"fileMatch": ["^Dockerfile$"],
"matchStrings": ["SABNZBD_VERSION=(?<currentValue>[0-9.]+)"],
"fileMatch": ["/^Dockerfile$/"],
"matchStrings": ["SABNZBD_VERSION=(?<currentValue>[\\w\\.-]+)"],
"depNameTemplate": "sabnzbd/sabnzbd",
"datasourceTemplate": "github-releases"
"datasourceTemplate": "github-releases",
"versioningTemplate": "semver"
},
{
"customType": "regex",
"description": "Detect Tini release version pin",
"fileMatch": ["^Dockerfile$"],
"matchStrings": ["\"TINI_VERSION\"\\s+\"v?(?<currentValue>[0-9.]+)\""],
"fileMatch": ["/^Dockerfile$/"],
"matchStrings": ["\"TINI_VERSION\"\\s+\"v?(?<currentValue>[\\w\\.-]+)\""],
"depNameTemplate": "krallin/tini",
"datasourceTemplate": "github-releases"
"datasourceTemplate": "github-releases",
"versioningTemplate": "semver"
},
{
"customType": "regex",
"description": "Detect par2cmdline release version pin",
"fileMatch": ["^Dockerfile$"],
"matchStrings": ["PAR2CMDLINE_VERSION=v?(?<currentValue>[0-9a-z.]+-mt\\d+)"],
"fileMatch": ["/^Dockerfile$/"],
"matchStrings": ["PAR2CMDLINE_VERSION=v?(?<currentValue>[\\w\\.-]+)"],
"depNameTemplate": "jkansanen/par2cmdline-mt",
"datasourceTemplate": "github-tags"
"datasourceTemplate": "github-tags",
"versioningTemplate": "semver"
}
]
}