Replacement with Docker version but not full value #9207
-
Does Renovate have the ability to match and replace just the Docker version and not the entire value? In the example below, the docker tags on Here is an example {
"regexManagers": [
{
"fileMatch": [
"^hardening_manifest.yaml$"
],
"matchStrings": [
"strimzi_version:\\s+\"(?<currentValue>.+?)\""
],
"depNameTemplate": "quay.io/strimzi/kafka",
"datasourceTemplate": "docker",
"versioningTemplate": "docker"
}
]
} And the # Build args passed to Dockerfile ARGs
args:
strimzi_version: "0.22.0"
KAFKA_VERSION: "2.7.0"
KAFKA_EXPORTER_VERSION: "1.2.0"
# List of resources to make available to the offline build context
resources:
- tag: strimzi/kafka:latest
url: docker://quay.io/strimzi/kafka@sha256:a2eb8ed7daac114843de5fc1b8d80e5c655f1de93d5cd7f1d061c7e68e571eae
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I think what you're after is to use regex versioning, not regex manager. Had you noticed it yet or ruled that out? |
Beta Was this translation helpful? Give feedback.
I think what you're after is to use regex versioning, not regex manager. Had you noticed it yet or ruled that out?