Skip to content
Create and manage an Amazon ECR repository
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
hooks
policies
LICENSE
README.md
plugin.yml

README.md

Create ECR Buildkite Plugin

GitHub Release

A Buildkite plugin to create and manage an Amazon ECR repository.

Example

The following pipeline creates an ECR repository my-repo if it does not already exist, and sets the lifecycle policy to the default policies/default-lifecycle-policy.json:

steps:
  - label: ecr
    plugins:
      - seek-oss/create-ecr#v1.1.2:
          name: my-repo

A custom lifecycle policy and repository policy may be specified:

steps:
  - label: ecr
    plugins:
      - seek-oss/create-ecr#v1.1.2:
          lifecycle-policy: path/to/lifecycle-policy.json
          name: my-repo
          repository-policy: path/to/repository-policy.json

Configuration

  • name (required, string)

    Name of the ECR repository.

  • repository-policy (optional, string)

    Path in local repository to the repository policy file.

  • lifecycle-policy (optional, string)

    Path in local repository to the lifecycle policy file.

License

MIT (see LICENSE)

You can’t perform that action at this time.