mirror of
https://github.com/thegeeklab/renovate-presets.git
synced 2024-11-22 09:20:38 +00:00
52 lines
1.7 KiB
JSON
52 lines
1.7 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"description": ["Preset for use with all of thegeeklab/* docker images"],
|
|
"extends": ["github>thegeeklab/renovate-presets:base"],
|
|
"packageRules": [
|
|
{
|
|
"description": "Set semantic commit scope for docker digests",
|
|
"groupName": "docker digests",
|
|
"matchDatasources": ["docker"],
|
|
"matchUpdateTypes": ["pin", "digest"],
|
|
"semanticCommitScope": "docker"
|
|
},
|
|
{
|
|
"description": "Automerge digest updates (usually security patches)",
|
|
"groupName": "docker digests",
|
|
"matchDatasources": ["docker"],
|
|
"matchPackagePatterns": [
|
|
"^((amd64|arm32v7|arm64v8)/)?(python|alpine|node|docker|rockylinux|centos|debian|golang)",
|
|
"^thegeeklab/(alpine|nginx)"
|
|
],
|
|
"matchUpdateTypes": ["pin", "digest"],
|
|
"automerge": true
|
|
},
|
|
{
|
|
"description": "Helper tools for docker base images",
|
|
"groupName": "docker helper tools",
|
|
"matchDatasources": ["github-releases"],
|
|
"matchManagers": ["dockerfile"],
|
|
"matchPackagePatterns": ["^hairyhenderson", "^aptible", "^thegeeklab"],
|
|
"matchUpdateTypes": ["minor", "patch"],
|
|
"automerge": true
|
|
},
|
|
{
|
|
"description": "Disable digest pinning for Compose (development only)",
|
|
"matchManagers": ["docker-compose"],
|
|
"pinDigests": false
|
|
}
|
|
],
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"fileMatch": [
|
|
"(^|/|\\.)([Dd]ocker|[Cc]ontainer)file$",
|
|
"(^|/)([Dd]ocker|[Cc]ontainer)file[^/]*$"
|
|
],
|
|
"matchStrings": [
|
|
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>.*?))?\\nENV .*?_VERSION=\"\\${.*:-(?<currentValue>.*)}\"\\s"
|
|
]
|
|
}
|
|
]
|
|
}
|