From e6e0ee97050604296be84556803c68c4869b613c Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Sat, 11 Feb 2023 08:21:57 +0200 Subject: [PATCH] fix(presets): use regex for alpine workaround (#20337) --- lib/config/presets/internal/workarounds.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/config/presets/internal/workarounds.ts b/lib/config/presets/internal/workarounds.ts index fda828fb84..3223d41c76 100644 --- a/lib/config/presets/internal/workarounds.ts +++ b/lib/config/presets/internal/workarounds.ts @@ -37,7 +37,7 @@ export const presets: Record<string, Preset> = { packageRules: [ { allowedVersions: '<20000000', - matchCurrentVersion: '<20000000', + matchCurrentVersion: '!/^\\d{8}$/', matchDatasources: ['docker'], matchPackageNames: ['alpine'], }, -- GitLab