renovate: apk integration

renovate: add repology manager

renovate: syntax

renovate: fix source

renovate test
This commit is contained in:
Michael Grote 2024-02-02 14:04:03 +01:00
parent 309253921e
commit 296c409824
2 changed files with 31 additions and 2 deletions

View file

@ -1,3 +1,10 @@
FROM httpd:2.4.57-alpine
FROM httpd:2.4.58-alpine
RUN apk add --no-cache curl wget
# renovate: datasource=repology depName=alpine_3_19/curl versioning=loose
ENV CURL_VERSION="8.0.0-r0"
# renovate: datasource=repology depName=alpine_3_19/wget versioning=loose
ENV WGET_VERSION="1.21.4-r0"
RUN apk add --no-cache \
curl="${CURL_VERSION}" \
wget="${WGET_VERSION}"

22
renovate.json Normal file
View file

@ -0,0 +1,22 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
":dependencyDashboard",
":semanticPrefixFixDepsChoreOthers",
":ignoreModulesAndTests",
"group:monorepos",
"group:recommended",
"replacements:all",
"workarounds:all"
],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^Dockerfile$"],
"matchStrings": [
"#\\s*renovate:\\s*datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\sENV .*?_VERSION=\"(?<currentValue>.*)\"\\s"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
}
]
}