UNPKG

786 BTypeScriptView Raw
1import { FulfillableGoalWithRegistrations, ImplementationRegistration, PrepareForGoalExecution } from "@atomist/sdm";
2import { DockerImageNameCreator, DockerOptions } from "./executeDockerBuild";
3/**
4 * Registration for a certain docker build and push configuration
5 */
6export interface DockerBuildRegistration extends ImplementationRegistration {
7 options: DockerOptions;
8 imageNameCreator?: DockerImageNameCreator;
9 preparations?: PrepareForGoalExecution[];
10}
11/**
12 * Goal that performs docker build and push depending on the provided options
13 */
14export declare class DockerBuild extends FulfillableGoalWithRegistrations<DockerBuildRegistration> {
15 private readonly uniqueName;
16 constructor(uniqueName?: string);
17 with(registration: DockerBuildRegistration): this;
18}