Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

movio/drone-ecr-registry-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drone-ecr-repository-plugin

Drone extension to support ECR repositories when pulling images

Building

To build and push to your repository

$ make linux-amd64-image
$ docker tag drone-ecr-registry-plugin:<sha> your/repo:latest
$ docker push your/repo:latest

See Makefile for more build options.

Running the service

$ docker run \
  --volume=/var/run/docker.sock:/var/run/docker.sock \
  --env=PLUGIN_SECRET="your shared secret"
  --env=ECR_REGISTRY=xxxxxxxxxx.dkr.ecr.us-east-1.amazonaws.com

You should make sure that the service is able to access ECR.

Using the service

To connect your agents to it, specify the following:

DRONE_REGISTRY_ENDPOINT="http://your-registry-image:3000"
DRONE_REGISTRY_SECRET="your shared secret"
DRONE_REGISTRY_VERIFY="false"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 62.8%
  • Shell 17.6%
  • Makefile 15.9%
  • Dockerfile 3.7%