fix regex

This commit is contained in:
David Kilias 2023-08-18 21:43:04 +02:00
parent 4569848756
commit 1648446f3c
3 changed files with 27 additions and 3 deletions

12
host-test.yml Normal file
View file

@ -0,0 +1,12 @@
# renovate: versioning=docker
prosody_image: netz39/prosody:0.11
# renovate: versioning=docker
prosody_web_image: joseluisq/static-web-server:2.14
# renovate: versioning=docker
grafana_image: grafana/grafana:9.4.7
# renovate: versioning=docker
homebox_image: ghcr.io/hay-kot/homebox:v0.9.2
# renovate: versioning=docker
renovate_image: renovate/renovate:36.25.0
image: ffmd/bind9-md-freifunk-net:v2022122301

12
host_vars/test/vars.yml Normal file
View file

@ -0,0 +1,12 @@
# renovate: versioning=docker
prosody_image: netz39/prosody:0.11
# renovate: versioning=docker
prosody_web_image: joseluisq/static-web-server:2.14
# renovate: versioning=docker
grafana_image: grafana/grafana:9.4.7
# renovate: versioning=docker
homebox_image: ghcr.io/hay-kot/homebox:v0.9.2
# renovate: versioning=docker
renovate_image: renovate/renovate:36.25.0
image: ffmd/bind9-md-freifunk-net:v2022122301

View file

@ -3,13 +3,13 @@
"regexManagers": [ "regexManagers": [
{ {
"fileMatch": [ "fileMatch": [
"ansible-test.yml", "host-.*\\.yml",
"Containerfile" "host_vars/.*/vars\\.yml"
], ],
"datasourceTemplate": "docker", "datasourceTemplate": "docker",
"versioningTemplate": "docker", "versioningTemplate": "docker",
"matchStrings": [ "matchStrings": [
"image: (?<depName>.*?):(?<currentValue>.*?)\\s" "image: (?<depName>[-{]*?):(?<currentValue>.*?)(@sha256:(?<currentDigest>.*?))?\\s"
] ]
} }
] ]