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.79.tar.gz
(948.5 kB
view hashes)
Built Distribution
Close
Hashes for cdk-ecr-deployment-0.0.79.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03d08beaee1304f9beb7fc904b31220b67147db3b664791146ecafb5f7ca630e |
|
MD5 | 2142cb74108f5a1089b79b87fb8ca377 |
|
BLAKE2b-256 | 59300d5149783e9f7cafa45bda56dcf5f97f5b81a88b5a72a23a58d2c209ebab |
Close
Hashes for cdk_ecr_deployment-0.0.79-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | afb80a2e4864d1a62ee7365ac1b4ef7a11c3a023661a8cdd01db8795aeded943 |
|
MD5 | babaa83ff8d8de2a8620b495cb2b21df |
|
BLAKE2b-256 | c2a09bd1c79dadcc1eb9e00cf7b7122882c8f17976e25e07f4349c9036c4e8b7 |