Files
openclaw/scripts/docker-channel-promote.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

38 lines
1.0 KiB
TypeScript

import type { DockerReleaseChannel } from "./lib/docker-release-policy.mjs";
export type DockerChannelPromotion = {
image: string;
sourceRef: string;
targetRefs: string[];
};
export type DockerChannelPromotionPlan = {
channel: DockerReleaseChannel;
promotions: DockerChannelPromotion[];
version: string;
};
export function createDockerChannelPromotionPlan(params: {
version: string;
images: string[];
}): DockerChannelPromotionPlan;
export function promoteDockerChannel(
params: { version: string; images: string[] },
options?: {
allowRollback?: boolean;
execFileSyncImpl?: (command: string, args: string[], options: object) => string;
log?: (message: string) => void;
verifyAttestationsImpl?: (params: {
imageRefs: string[];
requiredPlatforms: Array<{
architecture: string;
os: string;
variant?: string;
}>;
execFileSyncImpl: (command: string, args: string[], options: object) => string;
log: (message: string) => void;
}) => void;
},
): DockerChannelPromotionPlan;