## 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: #12 Co-authored-by: Djeex <[email protected]>
This commit was merged in pull request #12.
This commit is contained in:
1 parent
bedba358ae
commit
ec64cc6508
1 file changed
+11
@@ -4,6 +4,17 @@
|
||||
"timezone": "Europe/Paris",
|
||||
"minimumReleaseAge": "3 days",
|
||||
"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": [
|
||||
{
|
||||
"matchManagers": ["dockerfile"],
|
||||
|
||||
Reference in new issue
Block a user