Skip to content

Commit

Permalink
feat(presets): add containerbase workarounds (#21086)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice authored Mar 22, 2023
1 parent 7601eb3 commit de9b685
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions lib/config/presets/internal/workarounds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,24 @@ export const presets: Record<string, Preset> = {
'workarounds:supportRedHatImageVersion',
'workarounds:javaLTSVersions',
'workarounds:disableMavenParentRoot',
'workarounds:containerbase',
],
ignoreDeps: [],
},
containerbase: {
description: 'Add some containerbase overrides',
packageRules: [
{
description:
'Use node versioning for `(containerbase|renovate)/node` images',
matchDatasources: ['docker'],
matchPackagePatterns: [
'^(?:(?:docker|ghcr)\\.io/)?(?:containerbase|renovate)/node$',
],
versioning: 'node',
},
],
},
disableMavenParentRoot: {
description:
'Avoid version fetching for Maven packages detected as project root.',
Expand Down

0 comments on commit de9b685

Please sign in to comment.