🔨 Add regex to renovate

This commit is contained in:
SebClem 2021-12-15 18:55:38 +01:00
parent 30c9ace78c
commit a5d68dadd5
No known key found for this signature in database
GPG Key ID: 3D8E353F900B1305

View File

@ -2,5 +2,15 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"commitMessagePrefix": ":arrow_up:",
"regexManagers": [
{
"fileMatch": ["^Dockerfile$"],
"matchStrings": [
"datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\sENV .*?_VERSION=(?<currentValue>.*)\\s"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
}
]
}