fix(presets): apply NodeJS docker workaround for private registries (#32220)

This commit is contained in:
Sebastian Poxhofer 2024-10-30 15:35:49 +01:00 committed by GitHub
parent 813eb88400
commit 9faae86ff9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -235,7 +235,13 @@ export const presets: Record<string, Preset> = {
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: '^(?<version>[^-]+)(?<compatibility>-.*)?$',
versioning: 'node',
},