diff --git a/renovate.json b/renovate.json index 7190a60..82c3819 100644 --- a/renovate.json +++ b/renovate.json @@ -1,3 +1,15 @@ { - "$schema": "https://docs.renovatebot.com/renovate-schema.json" -} + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "regexManagers": [ + { + "fileMatch": [ + "ansible-test.yml", + "Containerfile" + ], + "matchStrings": [ + "# renovate: datasource=(?.*?) (versioning=(?.*?))\n.*_image: (?.*?):(?.*?)$" + ], + "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" + } + ] +} \ No newline at end of file