Sign inSign up

drentrega/drone-plugin-ecr-image-pull

By drentrega

•Updated about 7 years ago

A drone.io plugin to pull your images from AWS ECR using aws-cli!

Image
0

10K+

drentrega/drone-plugin-ecr-image-pull repository overview

⁠drentrega/drone-plugin-ecr-image-pull

A drone.io⁠ plugin to pull your images from AWS ECR using aws-cli!

⁠Tags

origintagalias
drentrega/aws-cli:stable-slimdrentrega/drone-plugin-ecr-image-pull:latestlatest
drentrega/aws-cli:jessiedrentrega/drone-plugin-ecr-image-pull:jessie-
drentrega/aws-cli:slimdrentrega/drone-plugin-ecr-image-pull:slim-

⁠Usage

⁠Setup on Drone.io Pipeline
pipeline:
  pull-images:
    image: drentrega/drone-plugin-ecr-image-pull
    secrets: [ AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION ]
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    commands:
      - aws ecr get-login --no-include-email | bash
      - docker pull $AWS_ACCOUNT.dkr.ecr.$REGION.amazonaws.com/my-image-1:latest
      - docker pull $AWS_ACCOUNT.dkr.ecr.$REGION.amazonaws.com/my-image-2:latest
⁠Testing locally
$ docker run --rm -it \
  -v "${HOME}/.aws/credentials:/root/.aws/credentials" \
  -v "/var/run/docker.sock:/var/run/docker.sock" \
  drentrega/drone-plugin-ecr-image-pull:latest bash

Tag summary

Content type

Image

Digest

Size

308.1 MB

Last updated

about 7 years ago

docker pull drentrega/drone-plugin-ecr-image-pull