Configure Renovate #1
@ -4,7 +4,7 @@ RUN apt-get update && apt-get install -y git \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# renovate: datasource=pypi depName=ansible
|
||||
ENV ANSIBLE_VERSION=5.0.1
|
||||
ENV ANSIBLE_VERSION=5.0.0
|
||||
RUN pip3 install --no-cache-dir ansible==${ANSIBLE_VERSION}
|
||||
|
||||
COPY entrypoint /bin/entrypoint
|
||||
|
16
renovate.json
Normal file
16
renovate.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"$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}}"
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user