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.83.tar.gz
(952.2 kB
view hashes)
Built Distribution
Close
Hashes for cdk-ecr-deployment-0.0.83.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b707a6c1b7c03badf643f0cdaa75593bb5a1adc5d87b1d7990220d316c7a899 |
|
MD5 | 34d6defc8372524c906017f253b6660d |
|
BLAKE2b-256 | 70eb7705ee896a6b2e7c6c32175cc80ee320e35506dd414b995dc74d15e70ea5 |
Close
Hashes for cdk_ecr_deployment-0.0.83-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e78f9dfa5a9847cef68d10e547211f0f0da1b9a5e3dcbd1ffb7d13891f407d03 |
|
MD5 | ff3a4830db42339b950ae043a31b3920 |
|
BLAKE2b-256 | e143000e68675b5e3fa593a538347336e6fab5e1f135fc071716e884cf969f63 |