diff --git a/Dockerfile b/Dockerfile index 6166f9a..56f3b6c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..98bc190 --- /dev/null +++ b/renovate.json @@ -0,0 +1,16 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:base" + ], + "commitMessagePrefix": ":arrow_up:", + "regexManagers": [ + { + "fileMatch": ["^Dockerfile$"], + "matchStrings": [ + "datasource=(?.*?) depName=(?.*?)( versioning=(?.*?))?\\sENV .*?_VERSION=(?.*)\\s" + ], + "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" + } + ] +}