Skip to content

Commit

Permalink
fix: renovate regex
Browse files Browse the repository at this point in the history
  • Loading branch information
jeboehm committed May 2, 2022
1 parent dcb533c commit 19a663e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 11 deletions.
8 changes: 3 additions & 5 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
],
"regexManagers": [
{
"fileMatch": ["^Dockerfile$"],
"matchStrings": [
"datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\sENV .*?_VERSION=(?<currentValue>.*)\\s"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
"fileMatch": ["Dockerfile$"],
"matchStrings": ["VER=(?<currentValue>.*?) # renovate: depName=(?<depName>.*?)\\n"],
"datasourceTemplate": "github-releases"
}
],
"ignorePaths": [
Expand Down
3 changes: 1 addition & 2 deletions test/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ ENV MYSQL_HOST=db \
RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ gnu-libiconv
ENV LD_PRELOAD=/usr/lib/preloadable_libiconv.so

# renovate: datasource=github-tags depName=jeboehm/imap-tester
ARG IMAPTESTER_VER=v0.2.1
ARG IMAPTESTER_VER=v0.2.1 # renovate: depName=jeboehm/imap-tester

RUN apk --no-cache add \
bash \
Expand Down
3 changes: 1 addition & 2 deletions virus/contrib/unofficial-sigs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ FROM alpine:3.15
LABEL maintainer="jeff@ressourcenkonflikt.de"
LABEL vendor="https://github.com/jeboehm/docker-mailserver"

# renovate: datasource=github-tags depName=extremeshok/clamav-unofficial-sigs
ARG SIGS_VER=7.2.4
ARG SIGS_VER=7.2.4 # renovate: depName=extremeshok/clamav-unofficial-sigs

# hadolint ignore=DL3003
RUN apk --no-cache add \
Expand Down
3 changes: 1 addition & 2 deletions web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ FROM roundcube/roundcubemail:1.5.x-fpm AS roundcube
FROM composer:2.3 AS composer
FROM php:8.0-fpm-alpine

# renovate: datasource=github-tags depName=jeboehm/mailserver-admin
ARG ADMIN_VER=2.0.3
ARG ADMIN_VER=2.0.3 # renovate: depName=jeboehm/mailserver-admin

LABEL maintainer="jeff@ressourcenkonflikt.de"
LABEL vendor="https://github.com/jeboehm/docker-mailserver"
Expand Down

0 comments on commit 19a663e

Please sign in to comment.