From 1319d1d3c2d204de4d41dca71898ef0ecef84e12 Mon Sep 17 00:00:00 2001 From: Sagent Date: Tue, 9 Jun 2026 02:15:40 +0000 Subject: [PATCH] chore: improve renovate dependency detection - Add renovate.json with custom regexManagers for: - Quoted FROM images (debian:buster) - SABNZBD_VERSION, TINI_VERSION, PAR2CMDLINE_VERSION env pins - Disable gitlabci manager (legacy CI, migrated to Gitea Actions) - Remove unnecessary quotes from FROM image reference --- Dockerfile | 2 +- renovate.json | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 renovate.json diff --git a/Dockerfile b/Dockerfile index 7ea56d8..dbc277a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM "debian:buster" +FROM debian:buster LABEL maintainer="Julien Cabillot " RUN groupadd -r -g 666 sabnzbd && \ diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..9c95b6a --- /dev/null +++ b/renovate.json @@ -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+\"?(?[^\":\\s]+):(?[^\"\\s]+)\"?" + ], + "datasourceTemplate": "docker" + }, + { + "customType": "regex", + "description": "Detect SABnzbd release version pin", + "fileMatch": ["^Dockerfile$"], + "matchStrings": [ + "SABNZBD_VERSION=(?[0-9.]+)" + ], + "depNameTemplate": "sabnzbd/sabnzbd", + "datasourceTemplate": "github-releases" + }, + { + "customType": "regex", + "description": "Detect Tini release version pin", + "fileMatch": ["^Dockerfile$"], + "matchStrings": [ + "TINI_VERSION\\s+v?(?[0-9.]+)" + ], + "depNameTemplate": "krallin/tini", + "datasourceTemplate": "github-releases" + }, + { + "customType": "regex", + "description": "Detect par2cmdline release version pin", + "fileMatch": ["^Dockerfile$"], + "matchStrings": [ + "PAR2CMDLINE_VERSION=v?(?[0-9a-z.]+-mt\\d+)" + ], + "depNameTemplate": "jkansanen/par2cmdline-mt", + "datasourceTemplate": "github-tags" + } + ] +}