Skip to content

Commit

Permalink
Merge pull request #472 from manala/renovate/configure
Browse files Browse the repository at this point in the history
Configure Renovate
  • Loading branch information
nervo authored Dec 2, 2024
2 parents 3c96868 + 3bfadb6 commit 2a0ae3a
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"$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 2a0ae3a

Please sign in to comment.