0
0
mirror of https://github.com/thegeeklab/renovate-presets.git synced 2024-11-13 22:10:39 +00:00
renovate-presets/docker.json

48 lines
1.6 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",
"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"],
"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"],
"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-26 15:01:53 +00:00
"regexManagers": [
{
"fileMatch": ["Dockerfile"],
2020-12-26 15:01:53 +00:00
"matchStrings": [
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>.*?))?\\nENV .*?_VERSION=\"\\${.*:-(?<currentValue>.*)}\"\\s"
]
}
]
}