From 78e5f96820b665c1e5876cff764bb54e7f54c54a Mon Sep 17 00:00:00 2001 From: "Tom C (DLS)" <101418278+coretl@users.noreply.github.com> Date: Fri, 24 Jul 2026 12:46:50 +0100 Subject: [PATCH] Disable Renovate Dockerfile base-image updates in downstream repos Downstream repos generated from this template were getting Renovate PRs (e.g. "Update ubuntu Docker tag") for base images that are only ever meant to be bumped centrally, in template/Dockerfile.jinja. Add a packageRule to renovate.json.jinja that disables the dockerfile manager for ubuntu and ghcr.io/diamondlightsource/ubuntu-devcontainer, mirroring the existing pyenv and github-actions disable rules. Reported in bluesky/scanspec#211. --- template/renovate.json.jinja | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/template/renovate.json.jinja b/template/renovate.json.jinja index 016ea7ae..5e52f7a6 100644 --- a/template/renovate.json.jinja +++ b/template/renovate.json.jinja @@ -36,6 +36,17 @@ "github-actions" ], "enabled": false + }, + { + "description": "Disable Dockerfile base images that are managed by python-copier-template", + "matchManagers": [ + "dockerfile" + ], + "matchDepNames": [ + "ubuntu", + "ghcr.io/diamondlightsource/ubuntu-devcontainer" + ], + "enabled": false } ] }