A Buildkite plugin to login to an ECR repository before running a build step.
This will login docker to ECR prior to running your script.
steps:
- command: ./run_build.sh
plugins:
ecr#v1.1.3:
login: true
If you want to log in to ECR on another account:
steps:
- command: ./run_build.sh
plugins:
ecr#v1.1.3:
login: true
account_ids: "0015615400570"
Whether to login to your account's ECR.
Either a string, or a list of strings with AWS account IDs that correspond to the Amazon ECR registries that you want to log in to. Make sure to quote these if they start with a 0.
Add --no-include-email
to ecr get-login. Required for docker 17.06+, but needs aws-cli 1.11.91+.
Set a specific region for ECR, defaults to the current
MIT (see LICENSE)