Files
openclaw/scripts/verify-docker-attestations.d.mts
Dallin Romney 74cc99f2d1 fix(release): publish extended-stable Docker channels safely (#112494)
* 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
2026-07-23 10:03:11 +09:00

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;
}[];
};