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", "customType": "regex",
"description": "Detect SABnzbd release version pin", "description": "Detect SABnzbd release version pin",
"fileMatch": ["^Dockerfile$"], "fileMatch": ["/^Dockerfile$/"],
"matchStrings": ["SABNZBD_VERSION=(?<currentValue>[0-9.]+)"], "matchStrings": ["SABNZBD_VERSION=(?<currentValue>[\\w\\.-]+)"],
"depNameTemplate": "sabnzbd/sabnzbd", "depNameTemplate": "sabnzbd/sabnzbd",
"datasourceTemplate": "github-releases" "datasourceTemplate": "github-releases",
"versioningTemplate": "semver"
}, },
{ {
"customType": "regex", "customType": "regex",
"description": "Detect Tini release version pin", "description": "Detect Tini release version pin",
"fileMatch": ["^Dockerfile$"], "fileMatch": ["/^Dockerfile$/"],
"matchStrings": ["\"TINI_VERSION\"\\s+\"v?(?<currentValue>[0-9.]+)\""], "matchStrings": ["\"TINI_VERSION\"\\s+\"v?(?<currentValue>[\\w\\.-]+)\""],
"depNameTemplate": "krallin/tini", "depNameTemplate": "krallin/tini",
"datasourceTemplate": "github-releases" "datasourceTemplate": "github-releases",
"versioningTemplate": "semver"
}, },
{ {
"customType": "regex", "customType": "regex",
"description": "Detect par2cmdline release version pin", "description": "Detect par2cmdline release version pin",
"fileMatch": ["^Dockerfile$"], "fileMatch": ["/^Dockerfile$/"],
"matchStrings": ["PAR2CMDLINE_VERSION=v?(?<currentValue>[0-9a-z.]+-mt\\d+)"], "matchStrings": ["PAR2CMDLINE_VERSION=v?(?<currentValue>[\\w\\.-]+)"],
"depNameTemplate": "jkansanen/par2cmdline-mt", "depNameTemplate": "jkansanen/par2cmdline-mt",
"datasourceTemplate": "github-tags" "datasourceTemplate": "github-tags",
"versioningTemplate": "semver"
} }
] ]
} }