Skip to content

Commit

Permalink
feat: add renovate customManager to update buildah image
Browse files Browse the repository at this point in the history
STONEBLD-2661

buildah image can also be specified in the .spec.stepTemplate.env, for
instance inside task task/buildah-remote/0.1/buildah-remote.yaml. This
custom manager updates the buildah image there.

Signed-off-by: Chenxiong Qi <[email protected]>
  • Loading branch information
tkdchen committed Aug 12, 2024
1 parent 420bc92 commit ebd5539
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,16 @@
],
"postUpdateOptions": [
"gomodTidy"
],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^task/[\\w-]+/[0-9.]+/[\\w-]\\.yaml$"],
"matchStrings": [
"value: (?<depName>quay\\.io/konflux-ci/buildah):(?<currentValue>latest)@(?<currentDigest>sha256:[a-f0-9]{64})"
],
"autoReplaceStringTemplate": "value: {{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"datasourceTemplate": "docker"
}
]
}

0 comments on commit ebd5539

Please sign in to comment.