0
0
mirror of https://github.com/thegeeklab/renovate-presets.git synced 2024-11-15 04:40:39 +00:00
renovate-presets/docker.json

60 lines
2.1 KiB
JSON
Raw Normal View History

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"],
"packageRules": [
{
"description": "Set semantic commit scope for docker digests",
2021-02-20 12:13:17 +00:00
"groupName": "docker digests",
"matchDatasources": ["docker"],
"matchUpdateTypes": ["pin", "digest"],
"semanticCommitScope": "docker"
},
{
"description": "Automerge digest updates (usually security patches)",
"groupName": "docker digests",
2024-02-15 11:16:19 +00:00
"extends": ["schedule:daily"],
"matchDatasources": ["docker"],
2021-02-20 12:13:17 +00:00
"matchPackagePatterns": [
"^((amd64|arm32v7|arm64v8)/)?(python|alpine|node|docker|rockylinux|centos|debian|golang)",
"^thegeeklab/(alpine|nginx)"
],
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
{
"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"],
"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
},
{
"description": "Disable digest pinning for testdata",
"matchFileNames": ["testdata/**"],
"pinDigests": false
}
],
"customManagers": [
2020-12-26 15:01:53 +00:00
{
"customType": "regex",
"fileMatch": [
"(^|/|\\.)([Dd]ocker|[Cc]ontainer)file$",
"(^|/)([Dd]ocker|[Cc]ontainer)file[^/]*$"
],
2020-12-26 15:01:53 +00:00
"matchStrings": [
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>.*?))?\\nENV .*?_VERSION=\"\\${.*:-(?<currentValue>.*)}\"\\s",
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>.*?))?\\nENV .*?_VERSION=\"?(?<currentValue>.*)\"?"
2020-12-26 15:01:53 +00:00
]
}
]
}