chore: improve renovate dependency detection #5
+1
-1
@@ -1,4 +1,4 @@
|
||||
FROM "debian:buster"
|
||||
FROM debian:buster
|
||||
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
|
||||
|
||||
RUN groupadd -r -g 666 sabnzbd && \
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user