Skip to content

getgoing/drone-ecr-registry

 
 

Repository files navigation

A registry credential extension to Drone registry extension to pull images from private AWS ECR repo. Please note this project requires Drone server version 1.4 or higher.

Installation

Create a shared secret:

$ openssl rand -hex 16
bea26a2221fd8090ea38720fc445eca6

Download and run the plugin:

$ docker run -d \
  --publish=3000:3000 \
  --env=DRONE_DEBUG=true \
  --env=DRONE_SECRET=bea26a2221fd8090ea38720fc445eca6 \
  --env=ECR_REGISTRY_IDS="awsAccountId1,awsAccountId2,..." \
  --restart=always \
  --name=credentials reptiloid666/drone-ecr-registry

Update your runner configuration to include the plugin address and the shared secret.

DRONE_REGISTRY_PLUGIN_ENDPOINT=http://1.2.3.4:3000
DRONE_REGISTRY_PLUGIN_TOKEN=bea26a2221fd8090ea38720fc445eca6

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 61.1%
  • Starlark 29.8%
  • Dockerfile 7.4%
  • Makefile 1.7%