fix: pin Renovate Nextcloud updates to matching major version
The custom regex manager matched all nextcloud_image entries with the same depName, causing Renovate to bump all matrix entries (NC 31, 32, 33) to the latest version instead of only the targeted major. Fix by capturing nextcloud_version to create version-specific dep names (nextcloud-31, nextcloud-32, nextcloud-33) with allowedVersions rules constraining each to its own major. Also pins docker-compose.yml to 32.x and removes redundant inline # renovate: comments that could cause duplicate matching. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
19fab2a381
commit
1482d2d43d
@@ -45,14 +45,12 @@ jobs:
|
||||
- "oauth"
|
||||
- "login-flow"
|
||||
include:
|
||||
# Version-specific image pins — Renovate updates these via customManagers
|
||||
# renovate: datasource=docker depName=docker.io/library/nextcloud
|
||||
# Version-specific image pins — Renovate updates these via customManagers in renovate.json
|
||||
# Each entry is pinned to its major version (e.g., NC 31 only gets 31.x updates)
|
||||
- nextcloud_version: "31"
|
||||
nextcloud_image: "docker.io/library/nextcloud:31.0.14@sha256:9bf3fae91aad4dca3eff02c1f71df8d5c6705a349065fb537aa5c5ef578f1013"
|
||||
# renovate: datasource=docker depName=docker.io/library/nextcloud
|
||||
- nextcloud_version: "32"
|
||||
nextcloud_image: "docker.io/library/nextcloud:32.0.6@sha256:5c4e09f72f096cd68379a8ae69f71e61d13da5a07430fc4a17c702a14e6a4267"
|
||||
# renovate: datasource=docker depName=docker.io/library/nextcloud
|
||||
# Disabled until all upstream apps support NC 33
|
||||
# - nextcloud_version: "33"
|
||||
# nextcloud_image: "docker.io/library/nextcloud:33.0.0@sha256:d53f6cb35b0712aa890a5e4a8ca21043d6fcd390f38c55b710816dd7cbc2edc0"
|
||||
|
||||
Reference in New Issue
Block a user