Skip to content

Commit

Permalink
Add renovate custom managers
Browse files Browse the repository at this point in the history
  • Loading branch information
nervo committed Dec 2, 2024
1 parent 4f89d3b commit 3bfadb6
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,62 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"enabledManagers": [
"regex"
],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["Dockerfile\\.tmpl"],
"matchStrings": ["ARG GOSU_VERSION=\"(?<currentValue>.+)\""],
"depNameTemplate": "gosu",
"datasourceTemplate": "github-releases",
"packageNameTemplate": "tianon/gosu"
},
{
"customType": "regex",
"fileMatch": ["Dockerfile\\.tmpl"],
"matchStrings": ["ARG GOMPLATE_VERSION=\"(?<currentValue>.+)\""],
"depNameTemplate": "gomplate",
"datasourceTemplate": "github-releases",
"packageNameTemplate": "hairyhenderson/gomplate",
"extractVersionTemplate": "^v(?<version>.+)$"
},
{
"customType": "regex",
"fileMatch": ["Dockerfile\\.tmpl"],
"matchStrings": ["ARG DIRENV_VERSION=\"(?<currentValue>.+)\""],
"depNameTemplate": "direnv",
"datasourceTemplate": "github-releases",
"packageNameTemplate": "direnv/direnv",
"extractVersionTemplate": "^v(?<version>.+)$"
},
{
"customType": "regex",
"fileMatch": ["Dockerfile\\.tmpl"],
"matchStrings": ["ARG JQ_VERSION=\"(?<currentValue>.+)\""],
"depNameTemplate": "jq",
"datasourceTemplate": "github-releases",
"packageNameTemplate": "jqlang/jq",
"extractVersionTemplate": "^jq (?<version>.+)$"
},
{
"customType": "regex",
"fileMatch": ["Dockerfile\\.tmpl"],
"matchStrings": ["ARG YQ_VERSION=\"(?<currentValue>.+)\""],
"depNameTemplate": "yq",
"datasourceTemplate": "github-releases",
"packageNameTemplate": "mikefarah/yq",
"extractVersionTemplate": "^v(?<version>.+)$"
},
{
"customType": "regex",
"fileMatch": ["Makefile"],
"matchStrings": ["_HADOLINT_VERSION = (?<currentValue>.+)"],
"depNameTemplate": "hadolint",
"datasourceTemplate": "docker",
"packageNameTemplate": "hadolint/hadolint"
}
]
}

0 comments on commit 3bfadb6

Please sign in to comment.