Files
openclaw/scripts/vercel-container-registry-publish.d.mts
T
Patrick Erichsen 105038e658 ci: mirror Docker release images to Vercel registry (#120058)
* ci: publish release images to Vercel registry

* ci: publish beta images to Vercel registry

* fix(ci): allow beta Vercel dispatch

* fix(ci): publish VCR-compatible image indexes

* fix(ci): allow VCR readiness propagation

* fix(ci): use Sandbox as VCR readiness proof

* fix(ci): promote clean VCR channel indexes

* fix(release): harden VCR publication

* fix(release): bind VCR publishing to verified inputs

* fix(test): follow script declaration migration

* fix(release): isolate VCR mirroring

* test(release): align VCR secret ownership
2026-08-10 14:45:05 -07:00

45 lines
1.2 KiB
TypeScript

export type VercelContainerRegistryPublishPlan = {
channel: "stable" | "extended-stable" | "beta";
copies: Array<{ sourceRef: string; targetRef: string; targetTag: string }>;
readinessTags: string[];
sourceImage: string;
targetImage: string;
version: string;
};
export function createVercelContainerRegistryPublishPlan(params: {
includeBrowser: boolean;
version: string;
sourceImage: string;
targetImage: string;
}): VercelContainerRegistryPublishPlan;
export function publishVercelContainerRegistryImages(
params: {
includeBrowser: boolean;
version: string;
sourceRefs: string[];
targetImage: string;
},
options?: {
execFileSyncImpl?: (command: string, args: string[], options: object) => unknown;
log?: (message: string) => void;
},
): VercelContainerRegistryPublishPlan;
export function promoteVercelContainerRegistryAliases(
params: {
includeBrowser: boolean;
version: string;
targetImage: string;
},
options?: {
execFileSyncImpl?: (command: string, args: string[], options: object) => unknown;
log?: (message: string) => void;
},
): {
channel: "stable" | "extended-stable" | "beta";
targetImage: string;
version: string;
};