Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "build/executeDockerBuild"

Index

Type aliases

DockerImageNameCreator

DockerImageNameCreator: function

Type declaration

    • (p: GitProject, sdmGoal: SdmGoalEvent, options: DockerOptions, ctx: HandlerContext): Promise<Array<object>>
    • Parameters

      • p: GitProject
      • sdmGoal: SdmGoalEvent
      • options: DockerOptions
      • ctx: HandlerContext

      Returns Promise<Array<object>>

Functions

Const DefaultDockerImageNameCreator

  • DefaultDockerImageNameCreator(p: GitProject, sdmGoal: SdmGoalEvent, options: DockerOptions, context: HandlerContext): Promise<object[]>

buildWithDocker

  • buildWithDocker(images: string[], dockerfilePath: string, gi: ProjectAwareGoalInvocation, optsToUse: DockerOptions): Promise<ExecuteGoalResult>

buildWithKaniko

  • buildWithKaniko(images: string[], imageNames: Array<object>, dockerfilePath: string, gi: ProjectAwareGoalInvocation, optsToUse: DockerOptions): Promise<ExecuteGoalResult>

checkIsBuilderAvailable

  • checkIsBuilderAvailable(cmd: string, ...args: string[]): Promise<void>

dockerConfigPath

  • dockerConfigPath(options: DockerOptions, goalEvent: SdmGoalEvent): string

dockerLogin

  • dockerLogin(options: DockerOptions, gi: ProjectAwareGoalInvocation): Promise<ExecuteGoalResult>

dockerPush

  • dockerPush(images: string[], options: DockerOptions, gi: ProjectAwareGoalInvocation): Promise<ExecuteGoalResult>

executeDockerBuild

getExternalUrls

  • getExternalUrls(images: Array<object>, options: DockerOptions): Array

pushEnabled

  • pushEnabled(gi: ProjectAwareGoalInvocation, options: DockerOptions): Promise<boolean>

readRegistries

Generated using TypeDoc