@enspirit/emb
Version:
A replacement for our Makefile-for-monorepos
21 lines (20 loc) • 767 B
TypeScript
import { Writable } from 'node:stream';
import * as z from 'zod';
import { AbstractOperation } from '../../../operations/index.js';
/**
* https://docs.docker.com/reference/api/engine/version/v1.37/#tag/Image/operation/ImagePush
*/
declare const schema: z.ZodObject<{
images: z.ZodOptional<z.ZodArray<z.ZodString>>;
tag: z.ZodOptional<z.ZodString>;
registry: z.ZodOptional<z.ZodString>;
retag: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export declare class PushImagesOperation extends AbstractOperation<typeof schema, void> {
protected out?: Writable | undefined;
constructor(out?: Writable | undefined);
protected _run(input: z.input<typeof schema>): Promise<void>;
private retagIfNecessary;
private pushImage;
}
export {};