UNPKG

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