Skip to main content
Version: 0.1.9

ecr_build

Method to build an image associated to an especific ECR repository

Returns following columns:

  • imageId: AWS generated ID for the generated image

Accepts the following parameters:

  • githubRepoUrl: URL where to get the source code for the build
  • ecrRepositoryId: ID fot the repository where to push the image
  • buildPath: Internal path on the Github repo where to read the buildspec
  • githubRef: Git reference for the source code repo
  • githubPersonalAccessToken: Personal Access Token used to access private repositories

See

https://docs.aws.amazon.com/codebuild/latest/userguide/sample-ecr.html