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.80.tar.gz
(954.3 kB
view hashes)
Built Distribution
Close
Hashes for cdk-ecr-deployment-0.0.80.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 315cab7a68083609cd04f883872061df2286f291f3a67ab737d1de2367d42f7b |
|
MD5 | 93d1e928aa16a72509089e5bd061cc5e |
|
BLAKE2b-256 | 1f53f815cb6057d07484d2d4b7257f12432470a3e5a5cbd389819e665b9e0bf1 |
Close
Hashes for cdk_ecr_deployment-0.0.80-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9e6e9c1639403e5b7b2f4fb1bab04e66007b5ea3585d80e29ee4b87e65aaab1 |
|
MD5 | 9cd8aa024da8f7c1d4c765daece5905b |
|
BLAKE2b-256 | 363613ab5831a67d72f9a36a74d54299176619bedb6f37cd1546c2dc5d746a7d |