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",
|
|
|
|
"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"],
|
2020-12-27 19:03:24 +00:00
|
|
|
"automerge": true
|
2020-12-30 16:09:30 +00:00
|
|
|
},
|
2021-02-20 12:23:10 +00:00
|
|
|
{
|
|
|
|
"description": "Helper tools for docker base images",
|
|
|
|
"groupName": "docker helper tools",
|
|
|
|
"matchDatasources": ["github-releases"],
|
2022-12-20 19:58:25 +00:00
|
|
|
"matchPaths": ["Dockerfile*", "docker/Dockerfile*"],
|
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
|
2020-12-27 19:03:24 +00:00
|
|
|
}
|
|
|
|
],
|
2020-12-26 15:01:53 +00:00
|
|
|
"regexManagers": [
|
|
|
|
{
|
2021-01-29 12:19:34 +00:00
|
|
|
"fileMatch": ["Dockerfile"],
|
2020-12-26 15:01:53 +00:00
|
|
|
"matchStrings": [
|
|
|
|
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>.*?))?\\nENV .*?_VERSION=\"\\${.*:-(?<currentValue>.*)}\"\\s"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|