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.72.tar.gz
(85.7 kB
view hashes)
Built Distribution
Close
Hashes for cdk-ecr-deployment-0.0.72.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27f6841a82e79af995e5d2f4ce8df014381d44bc63669a9a03120e1a158a1418 |
|
MD5 | 22c9900e53a33d64a1ae30bc1328c7b5 |
|
BLAKE2b-256 | a19f7cbf43032f6aeb3e32e83f9c7db8f0f695a7de1b173ee01a45d28d4164dc |
Close
Hashes for cdk_ecr_deployment-0.0.72-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8efe7132097f141f804100a9c61e833371e73f68a440ac25359535361258b295 |
|
MD5 | f9910934538c193d1d5ac3446f79c1f4 |
|
BLAKE2b-256 | 8852bc5d90c6e3ba533940b48f830e742e0d80b082968ff71e704b2406d5da0a |