misdirectedpuffin / drone-ecr

Drone plugin for publishing Docker images to the EC2 Container Registry

Home Page:http://plugins.drone.io/drone-plugins/drone-ecr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

drone-ecr

Build Status

Drone plugin to build and publish Docker images to AWS EC2 Container Registry. For the usage information and a listing of the available options please take a look at the docs.

Docker

Build the docker image with the following commands:

docker build --rm=true -t plugins/ecr .

Usage

Execute from the working directory:

docker run --rm \
  -e PLUGIN_TAG=latest \
  -e PLUGIN_REPO=octocat/hello-world \
  -e ECR_ACCESS_KEY=N1DOBESIHFPDZBI2YBGA \
  -e ECR_SECRET_KEY=HdUp4yYnTjeDaYfH2NICMdHg0V5qHdpce1vxAySv \
  -e ECR_REGION=us-east-1 \
  -e ECR_CREATE_REPOSITORY=true \
  -e DRONE_COMMIT_SHA=d8dbe4d94f15fe89232e0402c6e8a0ddf21af3ab \
  -v $(pwd):$(pwd) \
  -w $(pwd) \
  --privileged \
  plugins/ecr --dry-run

About

Drone plugin for publishing Docker images to the EC2 Container Registry

http://plugins.drone.io/drone-plugins/drone-ecr/

License:Apache License 2.0


Languages

Language:Shell 65.4%Language:Standard ML 34.6%