CDK construct to deploy docker image to Amazon ECR
Project description
cdk-ecr-deployment
CDK construct to deploy docker image to Amazon ECR
Features
- Copy an ECR image to another
- Copy docker hub image to ECR
- Copy an archive tarball image from s3 to ECR
Examples
Run test/integ.ecr-deployment.ts
npx cdk deploy -a "npx ts-node -P tsconfig.jest.json --prefer-ts-exts test/integ.ecr-deployment.ts"
Tech Details & Contribution
The core of this project relies on https://github.com/containers/image which is used by https://github.com/containers/skopeo. Please take a look at those projects before contribution.
To support a new docker image source(like docker tarball in s3), you need to implement image transport interface. You could take a look at docker-archive transport for a good start.
To test the lambda
folder, make test
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cdk-ecr-deployment-0.0.67.tar.gz
(85.5 kB
view hashes)
Built Distribution
Close
Hashes for cdk-ecr-deployment-0.0.67.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69b8541cd77bf78f45002faae4af61fd9c5c84dca60647c353d6a60d040be085 |
|
MD5 | 86469304d12250be9ec3c057d588615f |
|
BLAKE2b-256 | 51b0fb54b6f001e86f9501e587045a6c6479cbd4a131ad237caffbe85b77b9dc |
Close
Hashes for cdk_ecr_deployment-0.0.67-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb567ea5cc91396c4310362763a05a176e0fa7c74348548a14c9a39d18eb62c6 |
|
MD5 | 7bb648d6100ea5412bfa3f4aaaccb87e |
|
BLAKE2b-256 | 2c9db35be46765a93f2f6b1a4c15982e537c509c9b65e5c07dc9bfe14dfe8561 |