A [Repository] represents an [aws.ecr.Repository] along with an associated [LifecyclePolicy] controlling how images are retained in the repo.

Docker images can be built and pushed to the repo using the [buildAndPushImage] method. This will call into the @pulumi/docker/buildAndPushImage function using this repo as the appropriate destination registry.

Hierarchy

  • unknown
    • Repository

Constructors

Properties

lifecyclePolicy: any
repository: Repository

Methods

  • Builds the docker container specified by [pathOrBuild] and pushes it to this repository. The result is the unique ID pointing to that pushed image in this repo. This unique ID can be passed as the value to image: repo.buildAndPushImage(...) in an ecs.Container.

    Parameters

    • pathOrBuild: Input<any>

    Returns any

Generated using TypeDoc