chore: improve renovate dependency detection #5

Merged
jcabillot merged 3 commits from chore/renovate into master 2026-06-09 10:11:11 -04:00
2 changed files with 48 additions and 1 deletions
Showing only changes of commit 1319d1d3c2 - Show all commits
+1 -1
View File
@@ -1,4 +1,4 @@
FROM "debian:buster"
FROM debian:buster
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
RUN groupadd -r -g 666 sabnzbd && \
+47
View File
@@ -0,0 +1,47 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"gitlabci": {
"enabled": false
},
"customManagers": [
{
"customType": "regex",
"description": "Detect FROM images with optional quotes",
"fileMatch": ["^Dockerfile$"],
"matchStrings": [
"FROM\\s+\"?(?<depName>[^\":\\s]+):(?<currentValue>[^\"\\s]+)\"?"
],
"datasourceTemplate": "docker"
},
{
"customType": "regex",
"description": "Detect SABnzbd release version pin",
"fileMatch": ["^Dockerfile$"],
"matchStrings": [
"SABNZBD_VERSION=(?<currentValue>[0-9.]+)"
],
"depNameTemplate": "sabnzbd/sabnzbd",
"datasourceTemplate": "github-releases"
},
{
"customType": "regex",
"description": "Detect Tini release version pin",
"fileMatch": ["^Dockerfile$"],
"matchStrings": [
"TINI_VERSION\\s+v?(?<currentValue>[0-9.]+)"
],
"depNameTemplate": "krallin/tini",
"datasourceTemplate": "github-releases"
},
{
"customType": "regex",
"description": "Detect par2cmdline release version pin",
"fileMatch": ["^Dockerfile$"],
"matchStrings": [
"PAR2CMDLINE_VERSION=v?(?<currentValue>[0-9a-z.]+-mt\\d+)"
],
"depNameTemplate": "jkansanen/par2cmdline-mt",
"datasourceTemplate": "github-tags"
}
]
}