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.81.tar.gz
(967.2 kB
view hashes)
Built Distribution
Close
Hashes for cdk-ecr-deployment-0.0.81.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81fb980d63e776fb6ea8418eabf1d40e1ce87e6b054accd87ca570231e627ce5 |
|
MD5 | 74b2790f7589f2b774c0debb5d4036ef |
|
BLAKE2b-256 | 02702cc68c66d86b21df56eed4cb120ddec36d8121a066e26b697f4836693610 |
Close
Hashes for cdk_ecr_deployment-0.0.81-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6d5e8d3b56fd46ea29230723fc150bbf967b60ff295b7a8d1e2c1fa61a48135 |
|
MD5 | ef10e25ea3912aeb70dac3838f4b5472 |
|
BLAKE2b-256 | 0e6f82ac9992a36202b3e658c58d492a28255a5f7d829e0d72e7002950bc1efe |