Skip to content

Commit ad26a3a

Browse files
authored
feat(presets/workarounds): support bellsoft/hardened-liberica-runtime-container Image (#41058)
* feat(presets/workarounds): support `bellsoft/hardened-liberica-runtime-container` within Java LTS workaround * feat(presets/workarounds): support `bellsoft/hardened-liberica-runtime-container` versioning
1 parent a4a235e commit ad26a3a

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

lib/config/presets/internal/workarounds.preset.ts

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,10 @@ export const presets: Record<string, Preset> = {
196196
description:
197197
'Limit Java runtime versions to LTS releases. To receive all major releases add `workarounds:javaLTSVersions` to the `ignorePresets` array.',
198198
matchDatasources: ['docker'],
199-
matchPackageNames: ['bellsoft/liberica-runtime-container'],
199+
matchPackageNames: [
200+
'bellsoft/hardened-liberica-runtime-container',
201+
'bellsoft/liberica-runtime-container',
202+
],
200203
},
201204
],
202205
},
@@ -219,7 +222,10 @@ export const presets: Record<string, Preset> = {
219222
description: 'Liberica JDK Lite version optimized for the Cloud',
220223
matchCurrentValue: '/^jdk-[^a][^l]{2}/',
221224
matchDatasources: ['docker'],
222-
matchPackageNames: ['bellsoft/liberica-runtime-container'],
225+
matchPackageNames: [
226+
'bellsoft/hardened-liberica-runtime-container',
227+
'bellsoft/liberica-runtime-container',
228+
],
223229
versioning:
224230
'regex:^jdk-(?<major>\\d+)?(\\.(?<minor>\\d+))?(\\.(?<patch>\\d+))?([\\._+](?<build>(\\d\\.?)+))?(-(?<compatibility>.*))?$',
225231
},
@@ -228,7 +234,10 @@ export const presets: Record<string, Preset> = {
228234
'Liberica JDK that can be used to create a custom runtime with a help of jlink tool',
229235
matchCurrentValue: '/^jdk-all/',
230236
matchDatasources: ['docker'],
231-
matchPackageNames: ['bellsoft/liberica-runtime-container'],
237+
matchPackageNames: [
238+
'bellsoft/hardened-liberica-runtime-container',
239+
'bellsoft/liberica-runtime-container',
240+
],
232241
versioning:
233242
'regex:^jdk-all-(?<major>\\d+)?(\\.(?<minor>\\d+))?(\\.(?<patch>\\d+))?([\\._+](?<build>(\\d\\.?)+))?(-(?<compatibility>.*))?$',
234243
},
@@ -237,7 +246,10 @@ export const presets: Record<string, Preset> = {
237246
'Liberica JRE (only the runtime without the rest of JDK tools) for running Java applications',
238247
matchCurrentValue: '/^jre-/',
239248
matchDatasources: ['docker'],
240-
matchPackageNames: ['bellsoft/liberica-runtime-container'],
249+
matchPackageNames: [
250+
'bellsoft/hardened-liberica-runtime-container',
251+
'bellsoft/liberica-runtime-container',
252+
],
241253
versioning:
242254
'regex:^jre-(?<major>\\d+)?(\\.(?<minor>\\d+))?(\\.(?<patch>\\d+))?([\\._+](?<build>(\\d\\.?)+))?(-(?<compatibility>.*))?$',
243255
},

0 commit comments

Comments
 (0)