Skip to content

Commit

Permalink
Add regexManagers to Renovate config 3
Browse files Browse the repository at this point in the history
  • Loading branch information
back-2-95 committed Oct 21, 2024
1 parent 8f87d16 commit c4ea5f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"fileMatch": ["(^|/|\\.)Dockerfile$"],
"matchStrings": ["ENV MAILPIT_VERSION=(?<currentValue>.*?)\n"],
"depNameTemplate": "axllent/mailpit",
"datasourceTemplate": "github-releases"
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^{{{depName}}}\/(?<version>.*)$"
}
]
}
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG MAILPIT_VERSION=v1.20.0
ARG MAILPIT_VERSION=1.20.0

#
# Mailpit binary
Expand All @@ -8,7 +8,7 @@ FROM golang:alpine AS mailpit-builder
ARG MAILPIT_VERSION
WORKDIR /app

ADD https://github.com/axllent/mailpit/archive/refs/tags/${MAILPIT_VERSION}.tar.gz .
ADD https://github.com/axllent/mailpit/archive/refs/tags/v${MAILPIT_VERSION}.tar.gz .

RUN apk add --no-cache git npm
RUN tar --strip-components=1 -zxf v${MAILPIT_VERSION}.tar.gz -C .
Expand Down

0 comments on commit c4ea5f8

Please sign in to comment.