diff --git a/.github/renovate.json b/.github/renovate.json index dcc34c0..429afa1 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -2,7 +2,7 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "labels": ["dependencies"], "assignees": ["tarampampam"], - "enabledManagers": ["dockerfile"], + "enabledManagers": ["regex"], "extends": [ "config:base", ":disableDependencyDashboard" @@ -10,9 +10,8 @@ "regexManagers": [ { "fileMatch": ["^Dockerfile$"], - "matchStrings": ["ARG Z3PROXY_VERSION=(?.*?)\n"], - "depNameTemplate": "z3APA3A/3proxy", - "datasourceTemplate": "github-tags" + "matchStrings": ["datasource=(?.*?) depName=(?.*?)\\sARG .*?_VERSION=(?.*)\\s"], + "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" } ] } diff --git a/Dockerfile b/Dockerfile index 533692b..0604c20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Image page: FROM gcc:12.1.0 as builder -# e.g.: `docker build --build-arg "Z3PROXY_VERSION=0.9.4" .` +# renovate: datasource=github-tags depName=z3APA3A/3proxy ARG Z3PROXY_VERSION=0.9.3 # Fetch 3proxy sources