Use Renovate to update apache/maven #32250
Unanswered
y0x
asked this question in
Request Help
Replies: 1 comment 1 reply
-
You can, but you'll need to customize the regex which is used. You might be able to alternatively use versionCompatibility with the maven- part being an optional compatibility prefix |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How are you running Renovate?
Self-hosted Renovate
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
GitLab
Please tell us more about your question or problem
I´m building a Docker image where I install maven. I want renovate to update my ENV variable based on github-tags. Currently I´m only able to get this working when I define the variable like this:
This does not work:
During the installation process I´m required at one point to have the maven version variable without the "maven-", so like this
ENV MAVEN_VERSION=3.9.5
. The first $MAVEN_VERSION in the following string need just 3.9.5https://archive.apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-$MAVEN_VERSION-bin.tar.gz
Is there a way to automatically let renovate add maven-{version} within the config or what other options could I have to solve this?
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions