DroneCI plugin that pulls images from AWS ECR (Amazon Elastic Container Registry)
It can be used to auth against ECR, enabling drone to pull private images from there.
If you're using kubernetes RBAC auth
pipeline:
pull:
image: yspro/drone-plugin-ecr-fetcher
volumes:
- /var/run/docker.sock:/var/run/docker.sock
images:
- $ecr_repo/public_image
- $ecr_repo/private_image
- $ecr_repo/another_private_image:some_tag
... your steps
pipeline:
pull:
image: yspro/drone-plugin-ecr-fetcher
secrets: [aws_access_key_id, aws_secret_access_key]
volumes:
- /var/run/docker.sock:/var/run/docker.sock
images:
- $ecr_repo/public_image
- $ecr_repo/private_image
- $ecr_repo/another_private_image:some_tag
... your steps
That parameter is of list
type where you specify your docker images
The name of the AWS region. By default it's set to eu-central-1
.
pipeline:
pull:
image: yspro/drone-plugin-ecr-fetcher
volumes:
- /var/run/docker.sock:/var/run/docker.sock
images:
- $ecr_repo/private_image
aws_region: us-east-1
... your steps