Skip to content

Commit

Permalink
feat(presets): add bitnami docker versioning workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed May 16, 2024
1 parent 20716b0 commit e206ee3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/config/presets/internal/workarounds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,21 @@ export const presets: Record<string, Preset> = {
'workarounds:disableEclipseLifecycleMapping',
'workarounds:disableMavenParentRoot',
'workarounds:containerbase',
'workarounds:bitnamiDockerImageVersioning',
],
ignoreDeps: [], // Hack to improve onboarding PR description
},
bitnamiDockerImageVersioning: {
description: 'Use custom regex versioning for bitnami images',
packageRules: [
{
matchDatasources: ['docker'],
matchPackagePrefixes: ['gcr.io/bitnami-containers/', 'bitnami/'],
versioning:
'regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)(:?-(?<compatibility>.+)-(?<build>\\d+)(?:-r(?<revision>\\d+))?)?$',
},
],
},
containerbase: {
description: 'Add some containerbase overrides.',
packageRules: [
Expand Down

0 comments on commit e206ee3

Please sign in to comment.