mirror of
https://github.com/opencloud-eu/opencloud-compose.git
synced 2026-12-06 01:43:12 +08:00
chore(renovate): detect every image that takes its tag from a variable
The regex manager needed a "# renovate: depName=" annotation above the image line and the compose file in a list, and it only understood a plain x.y.z tag. opensearch was pinned but had neither, so it was never updated. Read the image name from the image line itself, scan all yaml files and accept any tag, with or without a digest. An image is picked up as soon as its tag is the default of a variable, nothing else to remember.
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
services:
|
services:
|
||||||
opencloud:
|
opencloud:
|
||||||
# renovate: depName=opencloudeu/opencloud-rolling
|
|
||||||
image: ${OC_DOCKER_IMAGE:-opencloudeu/opencloud-rolling}:${OC_DOCKER_TAG:-9.2.0}
|
image: ${OC_DOCKER_IMAGE:-opencloudeu/opencloud-rolling}:${OC_DOCKER_TAG:-9.2.0}
|
||||||
# changelog: https://github.com/opencloud-eu/opencloud/tree/main/changelog
|
# changelog: https://github.com/opencloud-eu/opencloud/tree/main/changelog
|
||||||
# release notes: https://docs.opencloud.eu/opencloud_release_notes.html
|
# release notes: https://docs.opencloud.eu/opencloud_release_notes.html
|
||||||
|
|||||||
@@ -31,14 +31,9 @@
|
|||||||
"customManagers": [
|
"customManagers": [
|
||||||
{
|
{
|
||||||
"customType": "regex",
|
"customType": "regex",
|
||||||
"managerFilePatterns": [
|
"managerFilePatterns": ["/.+\\.ya?ml$/"],
|
||||||
"/^docker-compose\\.yml$/",
|
|
||||||
"/^weboffice\\/collabora\\.yml$/",
|
|
||||||
"/^yjs\\/yjs\\.yml$/",
|
|
||||||
"/^thumbnails\\/imagor\\.yml$/"
|
|
||||||
],
|
|
||||||
"matchStrings": [
|
"matchStrings": [
|
||||||
"# renovate: depName=(?<depName>[^\\s]+)\\n\\s+image: \\$\\{[^}]+\\}:\\$\\{[^}]+-(?<currentValue>[0-9]+\\.[0-9]+\\.[0-9]+)\\}"
|
"image: \\$\\{[^}:]+:-(?<depName>[^}]+)\\}:\\$\\{[^}:]+:-(?<currentValue>[^@}]+)(?:@(?<currentDigest>sha256:[a-f0-9]+))?\\}"
|
||||||
],
|
],
|
||||||
"datasourceTemplate": "docker"
|
"datasourceTemplate": "docker"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
services:
|
services:
|
||||||
imagor:
|
imagor:
|
||||||
# renovate: depName=shumc/imagor
|
|
||||||
image: ${IMAGOR_DOCKER_IMAGE:-shumc/imagor}:${IMAGOR_DOCKER_TAG:-1.10.4}
|
image: ${IMAGOR_DOCKER_IMAGE:-shumc/imagor}:${IMAGOR_DOCKER_TAG:-1.10.4}
|
||||||
environment:
|
environment:
|
||||||
IMAGOR_UNSAFE: "true"
|
IMAGOR_UNSAFE: "true"
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ services:
|
|||||||
# the /yjs route is configured in the proxy
|
# the /yjs route is configured in the proxy
|
||||||
- ./config/opencloud/proxy.yaml:/etc/opencloud/proxy.yaml
|
- ./config/opencloud/proxy.yaml:/etc/opencloud/proxy.yaml
|
||||||
yjs:
|
yjs:
|
||||||
# renovate: depName=opencloudeu/yjs
|
|
||||||
image: ${YJS_DOCKER_IMAGE:-opencloudeu/yjs}:${YJS_DOCKER_TAG:-1.1.1}
|
image: ${YJS_DOCKER_IMAGE:-opencloudeu/yjs}:${YJS_DOCKER_TAG:-1.1.1}
|
||||||
user: ${OC_CONTAINER_UID_GID:-1000:1000}
|
user: ${OC_CONTAINER_UID_GID:-1000:1000}
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user