Updating customManager regex.
This commit is contained in:
+5
-3
@@ -51,13 +51,15 @@
|
|||||||
"customManagers": [
|
"customManagers": [
|
||||||
{
|
{
|
||||||
"customType": "regex",
|
"customType": "regex",
|
||||||
"fileMatch": ["docker-compose.yml"],
|
"description": "Handle Docker images with optional digest (e.g. :tag or :tag@sha256:...)",
|
||||||
|
"fileMatch": ["(^|/)docker-compose.*\\.ya?ml$"],
|
||||||
"matchStrings": [
|
"matchStrings": [
|
||||||
"image: (?<depName>[^:]+):(?<currentValue>latest)"
|
"image:\\s*(?<depName>[\\w./-]+):(?<currentTag>[\\w.-]+)(?:@(?<currentDigest>sha256:[a-f0-9]{64}))?"
|
||||||
],
|
],
|
||||||
"datasourceTemplate": "docker",
|
"datasourceTemplate": "docker",
|
||||||
"versioningTemplate": "docker",
|
"versioningTemplate": "docker",
|
||||||
"currentValueTemplate": "latest"
|
"extractVersionTemplate": "{{currentTag}}",
|
||||||
|
"extractDigestTemplate": "{{#if currentDigest}}{{currentDigest}}{{/if}}"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
|
|||||||
Reference in New Issue
Block a user