2020-12-26 15:01:53 +00:00
|
|
|
{
|
|
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
|
|
"description": ["Preset for use with all of thegeeklab/* docker images"],
|
|
|
|
"extends": ["github>thegeeklab/renovate-presets:base"],
|
2020-12-27 19:03:24 +00:00
|
|
|
"packageRules": [
|
|
|
|
{
|
2022-12-19 20:16:52 +00:00
|
|
|
"description": "Set semantic commit scope for docker digests",
|
2021-02-20 12:13:17 +00:00
|
|
|
"groupName": "docker digests",
|
|
|
|
"matchDatasources": ["docker"],
|
2021-05-09 21:14:06 +00:00
|
|
|
"matchUpdateTypes": ["pin", "digest"],
|
2021-08-24 09:25:28 +00:00
|
|
|
"semanticCommitScope": "docker"
|
2021-05-09 21:14:06 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"description": "Automerge digest updates (usually security patches)",
|
|
|
|
"groupName": "docker digests",
|
2024-02-15 11:16:19 +00:00
|
|
|
"extends": ["schedule:daily"],
|
2021-05-09 21:14:06 +00:00
|
|
|
"matchDatasources": ["docker"],
|
2021-02-20 12:13:17 +00:00
|
|
|
"matchPackagePatterns": [
|
2023-01-13 11:46:31 +00:00
|
|
|
"^((amd64|arm32v7|arm64v8)/)?(python|alpine|node|docker|rockylinux|centos|debian|golang)",
|
2020-12-30 15:10:04 +00:00
|
|
|
"^thegeeklab/(alpine|nginx)"
|
2020-12-27 19:03:24 +00:00
|
|
|
],
|
2021-02-20 12:13:17 +00:00
|
|
|
"matchUpdateTypes": ["pin", "digest"],
|
2024-02-15 11:16:19 +00:00
|
|
|
"automerge": true
|
2020-12-30 16:09:30 +00:00
|
|
|
},
|
2021-02-20 12:23:10 +00:00
|
|
|
{
|
2024-01-23 08:23:48 +00:00
|
|
|
"description": "Automerge helper tools for docker base images",
|
2021-02-20 12:23:10 +00:00
|
|
|
"groupName": "docker helper tools",
|
2024-02-15 11:16:19 +00:00
|
|
|
"extends": ["schedule:weekly"],
|
2021-02-20 12:23:10 +00:00
|
|
|
"matchDatasources": ["github-releases"],
|
2024-01-23 20:17:19 +00:00
|
|
|
"matchManagers": ["regex"],
|
2021-02-20 12:23:10 +00:00
|
|
|
"matchPackagePatterns": ["^hairyhenderson", "^aptible", "^thegeeklab"],
|
|
|
|
"matchUpdateTypes": ["minor", "patch"],
|
|
|
|
"automerge": true
|
|
|
|
},
|
2020-12-30 16:09:30 +00:00
|
|
|
{
|
2021-02-21 14:30:33 +00:00
|
|
|
"description": "Disable digest pinning for Compose (development only)",
|
2021-02-20 12:13:17 +00:00
|
|
|
"matchManagers": ["docker-compose"],
|
2021-02-21 14:30:46 +00:00
|
|
|
"pinDigests": false
|
2024-05-05 11:08:56 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"description": "Disable digest pinning for testdata",
|
|
|
|
"matchFileNames": ["testdata/**"],
|
|
|
|
"pinDigests": false
|
2020-12-27 19:03:24 +00:00
|
|
|
}
|
|
|
|
],
|
2023-11-15 08:15:36 +00:00
|
|
|
"customManagers": [
|
2020-12-26 15:01:53 +00:00
|
|
|
{
|
2023-11-15 08:15:36 +00:00
|
|
|
"customType": "regex",
|
|
|
|
"fileMatch": [
|
|
|
|
"(^|/|\\.)([Dd]ocker|[Cc]ontainer)file$",
|
|
|
|
"(^|/)([Dd]ocker|[Cc]ontainer)file[^/]*$"
|
|
|
|
],
|
2020-12-26 15:01:53 +00:00
|
|
|
"matchStrings": [
|
2024-10-26 19:24:08 +00:00
|
|
|
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>.*?))?\\nENV .*?_VERSION=\"\\${.*:-(?<currentValue>.*)}\"\\s",
|
2024-10-27 12:27:12 +00:00
|
|
|
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>.*?))?\\nENV .*?_VERSION=\"?(?<currentValue>[^${}\"\\s]+)\"?"
|
2020-12-26 15:01:53 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|