## Summary - Custom Renovate manager for the CI tool images pinned in `docker run`/`docker create` commands (Trivy, gitleaks, hadolint), which the default managers do not detect. - Renovate will now open PRs to bump them; they are not automerged. ## Test plan - [ ] CI green on this PR - [ ] After merge, Renovate opens a PR bumping Trivy - [ ] That PR passes CI before merging Reviewed-on: #23 Co-authored-by: Djeex <[email protected]>
This commit was merged in pull request #23.
This commit is contained in:
1 parent
ec4ef966bf
commit
01dbf55e93
1 file changed
+11
@@ -4,6 +4,17 @@
|
|||||||
"timezone": "Europe/Paris",
|
"timezone": "Europe/Paris",
|
||||||
"minimumReleaseAge": "3 days",
|
"minimumReleaseAge": "3 days",
|
||||||
"labels": ["bot"],
|
"labels": ["bot"],
|
||||||
|
"customManagers": [
|
||||||
|
{
|
||||||
|
"customType": "regex",
|
||||||
|
"description": "Docker images pinned in CI 'docker run' / 'docker create' commands",
|
||||||
|
"managerFilePatterns": ["/^\\.gitea/workflows/.+\\.ya?ml$/"],
|
||||||
|
"matchStrings": [
|
||||||
|
"(?<depName>(?:zricethezav/gitleaks|hadolint/hadolint|aquasec/trivy)):(?<currentValue>v?\\d+\\.\\d+\\.\\d+(?:-[a-z]+)?)"
|
||||||
|
],
|
||||||
|
"datasourceTemplate": "docker"
|
||||||
|
}
|
||||||
|
],
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
{
|
||||||
"matchManagers": ["pip_requirements"],
|
"matchManagers": ["pip_requirements"],
|
||||||
|
|||||||
Reference in new issue
Block a user