mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-12-01 09:39:53 +01:00
fix(ci): accept exact Node 24 security image pins
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
d97ef47a81
commit
349836dc57
3 files changed
+24
-1
No files matched your search
@@ -0,0 +1,5 @@
|
||||
// Accept the existing major tags and exact patch pins, with a required image variant.
|
||||
// A digest, when present, must be a complete SHA-256 pin.
|
||||
export function isNode24ImageTag(tag) {
|
||||
return /^24(?:\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*))?-[a-z0-9][a-z0-9._-]*(?:@sha256:[a-f0-9]{64})?$/.test(tag);
|
||||
}
|
||||
Reference in new issue
Block a user