Function buildAndPushImage

  • Creates a new [Repository], optionally configured using [args], builds the docker container specified by [pathOrBuild] and then pushes the built image to the repository. The result contains both the Repository created as well as the unique ID referencing the built image in that repo. This result type can be passed in as image: ecr.buildAndPushImage(...) for an ecs.Container

    Parameters

    Returns RepositoryImage

Generated using TypeDoc