Skip to content

Commit

Permalink
renovate: fix regex pattern for buildah image
Browse files Browse the repository at this point in the history
We previously enabled a customManager for the buildah image used in
buildah-remote (in e49a405).

Since then, the name of the buildah image has changed to 'buildah-task',
so the updates stopped working. Make the regex more general.

Signed-off-by: Adam Cmiel <[email protected]>
  • Loading branch information
chmeliik committed Aug 19, 2024
1 parent 9ed9e22 commit bca9467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"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})"
"value: (?<depName>quay\\.io/konflux-ci/buildah[^:]*):(?<currentValue>[^@]*)@(?<currentDigest>sha256:[a-f0-9]{64})"
],
"autoReplaceStringTemplate": "value: {{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"datasourceTemplate": "docker"
Expand Down

0 comments on commit bca9467

Please sign in to comment.