16 lines
687 B
JSON
16 lines
687 B
JSON
|
{
|
||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||
|
"extends": ["config:recommended", ":dependencyDashboard"],
|
||
|
"customManagers": [
|
||
|
{
|
||
|
"customType": "regex",
|
||
|
"fileMatch": ["^Dockerfile$"],
|
||
|
"matchStrings": [
|
||
|
"datasource=(?<datasource>.*?) depName=(?<depName>.*?)( extractVersion=(?<extractVersion>.+?))?( versioning=(?<versioning>.*?))?\\n(ENV)?\\s*.*?_VERSION=(?<currentValue>[^\\ s]+).*\\n"
|
||
|
],
|
||
|
"extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^v?(?<version>.+)${{/if}}",
|
||
|
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
|
||
|
}
|
||
|
]
|
||
|
}
|