All Projects → buildkite-plugins → ecr-buildkite-plugin

buildkite-plugins / ecr-buildkite-plugin

Licence: MIT license
🔐 Login to an AWS ECR registry

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to ecr-buildkite-plugin

k8s-buildkite-plugin
Run any buildkite build step as a Kubernetes Job
Stars: ✭ 37 (+54.17%)
Mutual labels:  buildkite, buildkite-plugin
docker-buildkite-plugin
🐳📦 Run any build step in a Docker container
Stars: ✭ 90 (+275%)
Mutual labels:  buildkite, buildkite-plugin
junit-annotate-buildkite-plugin
📈 Summarise your test failures as a build annotation
Stars: ✭ 18 (-25%)
Mutual labels:  buildkite, buildkite-plugin
docker-compose-buildkite-plugin
🐳⚡️ Run build scripts, and build + push images, w/ Docker Compose
Stars: ✭ 137 (+470.83%)
Mutual labels:  buildkite, buildkite-plugin
artifacts-buildkite-plugin
🆙 Automatically upload and download artifacts
Stars: ✭ 26 (+8.33%)
Mutual labels:  buildkite, buildkite-plugin
knapsack pro-ruby
Knapsack Pro gem splits tests across parallel CI nodes and makes sure that tests will run in optimal time on each node.
Stars: ✭ 101 (+320.83%)
Mutual labels:  buildkite
gitea-buildkite-connector
Connect Gitea & Buildkite
Stars: ✭ 16 (-33.33%)
Mutual labels:  buildkite
rails-docker-parallel-example
An example of how to run Rails CI and test steps in parallel with Docker and Buildkite
Stars: ✭ 19 (-20.83%)
Mutual labels:  buildkite
nodejs-docker-example
An example of how to run a Node.js project in Docker in a Buildkite pipeline
Stars: ✭ 39 (+62.5%)
Mutual labels:  buildkite
terraform-ecr-docker-build-module
No description or website provided.
Stars: ✭ 21 (-12.5%)
Mutual labels:  aws-ecr
on-demand
CloudFormation resources for scheduling On-Demand Buildkite Agents with AWS ECS and AWS Fargate
Stars: ✭ 19 (-20.83%)
Mutual labels:  buildkite
sbt-ecr
An SBT plugin for managing Docker images within Amazon ECR.
Stars: ✭ 52 (+116.67%)
Mutual labels:  aws-ecr
buildkite-jobify
👷 Kubekite, but in Rust, using configuration from your repos 🦀
Stars: ✭ 16 (-33.33%)
Mutual labels:  buildkite
buildkite-agent-scaler
📈A lambda for scaling an AutoScalingGroup based on Buildkite metrics
Stars: ✭ 25 (+4.17%)
Mutual labels:  buildkite
golang-docker-example
An example of how to run a Golang project in Docker in a Buildkite pipeline
Stars: ✭ 18 (-25%)
Mutual labels:  buildkite
pybuildkite
A Python library for the Buildkite API
Stars: ✭ 29 (+20.83%)
Mutual labels:  buildkite
e9-cloudformation-docker-ecs
Docker on Amazon ECS with AWS Fargate using CloudFormation. https://devteds.com/episodes/9-docker-on-amazon-ecs-using-cloudformation
Stars: ✭ 78 (+225%)
Mutual labels:  aws-ecr
ocistow
Stream, Mutate and Sign Images with AWS Lambda and ECR
Stars: ✭ 17 (-29.17%)
Mutual labels:  ecr
aws-sm-buildkite-plugin
Buildkite plugin for working with AWS Secrets Manager
Stars: ✭ 38 (+58.33%)
Mutual labels:  buildkite-plugin
terraform-aws-ecr
This terraform module is used to create ECR on AWS.
Stars: ✭ 20 (-16.67%)
Mutual labels:  ecr

ECR Buildkite Plugin Build status

A Buildkite plugin to login to an ECR repository before running a build step.

This will use standard AWS credentials available in the environment, or as an instance role or task role as available. These must be granted appropriate permissions for login to succeed and for push and pull to operate.

Example

This will login docker to ECR prior to running your script.

steps:
  - command: ./run_build.sh
    plugins:
      - ecr#v2.7.0:
          login: true

If you want to log in to ECR on another account:

steps:
  - command: ./run_build.sh
    plugins:
      - ecr#v2.7.0:
          login: true
          account_ids: "0015615400570"
          region: "ap-southeast-2"

If you need to assume a role to perform that login:

steps:
  - command: ./run_build.sh
    plugins:
      - ecr#v2.7.0:
          login: true
          account-ids: "0015615400570"
          region: "ap-southeast-2"
          assume_role:
            role_arn: "arn:aws:iam::0015615400570:role/demo"

Options

login

Whether to login to your account's ECR.

account-ids (optional)

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.

You can use the literal public.ecr.aws as a value to authenticate against AWS ECR public registries.

⚠️ If you are using ECR Credential Helper in your docker configuration it is possible you have to add https:// to your account IDs to prevent an error (see the corresponding bug report for more information).

no-include-email (optional)

Obsolete if using AWS CLI version 1.17.10 or newer.

Add --no-include-email to ecr get-login. Required for docker 17.06+, but needs aws-cli 1.11.91+.

region (optional)

Set a specific region for ECR, defaults to AWS_DEFAULT_REGION on the agent, or us-east-1 if none specified.

retries (optional)

Retries login after a delay N times. Defaults to 0.

assume-role (optional)

Updates AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_SESSION_TOKEN environment variables.

Assume an AWS IAM role before ECR login. Supports role-arn and duration-seconds (optional) per the associated AWS CLI command.

profile (optional)

Requires AWS CLI version 1.17.10 or greater.

Use a different AWS profile from the default during ECR login.

License

MIT (see LICENSE)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].