mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-02 08:21:35 +00:00
* fix(release): isolate extended-stable Docker aliases * fix(release): harden Docker channel promotion * docs(release): pin Docker policy into tagged tree * refactor(release): isolate Docker channel promotion * fix(release): queue Docker publications * fix(release): harden docker channel promotion * docs(release): tighten extended-stable guidance * fix(release): promote Docker aliases after verification * chore(release): format maintainer instructions * refactor(release): separate release version policy * docs(release): clarify extended-stable gateway scope * fix(release): harden Docker channel promotion
43 lines
1.1 KiB
TypeScript
43 lines
1.1 KiB
TypeScript
#!/usr/bin/env node
|
|
/**
|
|
* Rewrites an image reference to use the provided digest.
|
|
*/
|
|
export function imageRefForDigest(imageRef: unknown, digest: unknown): string;
|
|
/**
|
|
* Parses os/architecture[/variant] platform strings.
|
|
*/
|
|
export function parsePlatform(value: unknown): {
|
|
architecture: unknown;
|
|
os: unknown;
|
|
variant: unknown;
|
|
};
|
|
/**
|
|
* Collects missing/mismatched attestation errors for required image platforms.
|
|
*/
|
|
export function collectDockerAttestationErrors(params: unknown): string[];
|
|
export function verifyDockerAttestations(params: {
|
|
imageRefs: string[];
|
|
requiredPlatforms: Array<{
|
|
architecture: string;
|
|
os: string;
|
|
variant?: string;
|
|
}>;
|
|
execFileSyncImpl?: (command: string, args: string[], options: unknown) => string;
|
|
log?: (message: string) => void;
|
|
}): void;
|
|
export function inspectRaw(
|
|
imageRef: unknown,
|
|
params?: {
|
|
execFileSyncImpl?: (command: string, args: string[], options: unknown) => string;
|
|
},
|
|
): string;
|
|
export function parseArgs(argv: unknown): {
|
|
help: boolean;
|
|
imageRefs: unknown[];
|
|
requiredPlatforms: {
|
|
architecture: unknown;
|
|
os: unknown;
|
|
variant: unknown;
|
|
}[];
|
|
};
|