1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-09-16 09:26:22 +02:00

chore(renovate): add rule to update python Docker image (#5474)

This commit is contained in:
Christopher Fenner
2025-09-12 09:37:24 +02:00
committed by GitHub
parent 3cc0e99d11
commit b042ba490e

28
.github/renovate.json vendored
View File

@@ -104,6 +104,34 @@
"depNameTemplate": "CycloneDX/{{{depName}}}",
"extractVersionTemplate": "v(?<version>.*)",
"autoReplaceStringTemplate": "\"github.com/{{{depName}}}/cmd/cyclonedx-gomod@v{{{newValue}}}\""
},
{
"customType": "regex",
"matchStringsStrategy": "any",
"managerFilePatterns": [
"resources/metadata/pythonBuild.yaml"
],
"matchStrings": [
"image: (?<depName>python):(?<currentValue>.*)"
],
"depTypeTemplate": "dependencies",
"datasourceTemplate": "docker",
"extractVersionTemplate": "(?<version>.*)",
"autoReplaceStringTemplate": "image: {{depName}}:{{newValue}}"
},
{
"customType": "regex",
"matchStringsStrategy": "any",
"managerFilePatterns": [
"cmd/pythonBuild_generated.go"
],
"matchStrings": [
"Image: \"(?<depName>python):(?<currentValue>.*)\""
],
"depTypeTemplate": "dependencies",
"datasourceTemplate": "docker",
"extractVersionTemplate": "(?<version>.*)",
"autoReplaceStringTemplate": "Image: \"{{depName}}:{{newValue}}\""
}
],
"postUpdateOptions": [