UNPKG

959 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 /**
8 * Options to configure the docker build
9 */
10 options?: DockerOptions;
11 /**
12 * @deprecated use options.dockerImageNameCreator
13 */
14 imageNameCreator?: DockerImageNameCreator;
15}
16/**
17 * Goal that performs docker build and push depending on the provided options
18 */
19export declare class DockerBuild extends FulfillableGoalWithRegistrations<DockerBuildRegistration> {
20 private readonly goalDetailsOrUniqueName;
21 constructor(goalDetailsOrUniqueName?: FulfillableGoalDetails | string, ...dependsOn: Goal[]);
22 with(registration: DockerBuildRegistration): this;
23}