Skip to content

versioningTemplate ignored in custom manager? (Suggest upgrades to eclipse-temurin ubuntu variants) #33934

Answered by gaeljw
gaeljw asked this question in Request Help
Discussion options

You must be logged in to vote

Okay, I think I got it working without having to disable the workaround preset.

{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": [
    "config:recommended"
  ],
  "customManagers": [
      {
        "customType": "regex",
        "fileMatch": [
          "(^|/)Dockerfile$"
        ],
        "matchStrings": [
          "FROM eclipse-temurin:(?<regularVersion>.*)-jre-(?<currentValue>.*)"
        ],
        "extractVersionTemplate": "^{{{regularVersion}}}-jre-(?<version>.*)$",
        "depNameTemplate": "eclipse-temurin-variant",
        "packageNameTemplate": "eclipse-temurin",
        "versioningTemplate": "ubuntu",
        "datasourceTemplate": "docker"

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@gaeljw
Comment options

@gaeljw
Comment options

@gaeljw
Comment options

@gaeljw
Comment options

Answer selected by gaeljw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant