8000 GitHub - kudato/drone-ecr-pull: Drone plugin for pulling images from Amazon ECR
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kudato/drone-ecr-pull

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drone-ecr-pull

Why?

Drone cannot use ECR private images for the build steps, this plugin solve this problem.

Usage

...

- name: Pull step
  image: kudato/drone-ecr-pull
  volumes:
  - name: docker
    path: /var/run/docker.sock
  settings:
    region: us-east-1
    access_key:
      from_secret: aws_access_key_id
    secret_key:
      from_secret: aws_secret_access_key
    images: [
      "012345678901.dkr.ecr.us-east-1.amazonaws.com/my-awesome-image:latest",
      "012345678901.dkr.ecr.us-east-1.amazonaws.com/my-other-image:latest"
    ]

...

volumes:
- name: docker
  host:
    path: /var/run/docker.sock

Downloaded images will be guaranteed available to other steps in the same pipeline.

Parameter Reference

  • access_key: your aws access key

  • secret_key: your aws secret access key

  • region: aws region where your registry is located, defaults is us-east-1

  • images: list of download images

About

Drone plugin for pulling images from Amazon ECR

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0