From 9faae86ff907458aa91a412a744f9251ae2eaf26 Mon Sep 17 00:00:00 2001 From: Sebastian Poxhofer Date: Wed, 30 Oct 2024 15:35:49 +0100 Subject: [PATCH] fix(presets): apply NodeJS docker workaround for private registries (#32220) --- lib/config/presets/internal/workarounds.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/config/presets/internal/workarounds.ts b/lib/config/presets/internal/workarounds.ts index 8e470ec6b8..df7c8ac173 100644 --- a/lib/config/presets/internal/workarounds.ts +++ b/lib/config/presets/internal/workarounds.ts @@ -235,7 +235,13 @@ export const presets: Record = { packageRules: [ { matchDatasources: ['docker'], - matchDepNames: ['node'], + // copied from https://github.com/renovatebot/renovate/blob/a471762e137619c06e73a678d6b63ca984da7dba/lib/config/presets/internal/group.ts#L351 + matchPackageNames: [ + '/(?:^|/)node$/', // node or ends with "/node, except those below" + '!calico/node', + '!docker.io/calico/node', + '!kindest/node', + ], versionCompatibility: '^(?[^-]+)(?-.*)?$', versioning: 'node', },