mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-02 06:51: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
38 lines
1.0 KiB
TypeScript
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;
|