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.84.tar.gz
(973.2 kB
view hashes)
Built Distribution
Close
Hashes for cdk-ecr-deployment-0.0.84.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc194465d87ef65f3990935a01bc6c05d6ceb98fb658ddffa45c2ac28146d52e |
|
MD5 | dcc1cfcbcb29547232898215a5681bd2 |
|
BLAKE2b-256 | 7d26c39e7b2973f4374ed2604de439d1585cf1b46ce8cc4af8bb3aa09cdbea43 |
Close
Hashes for cdk_ecr_deployment-0.0.84-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cf29f209e34d52d376e3d185741e2934bfb899e6f10eaa433705a23084b62ee |
|
MD5 | 3ba672b84881cd36be86cbdb2715708e |
|
BLAKE2b-256 | b98bff31366918bf6e247449051b7b88f6fceb79e324c6714f9213dbfedc5f6d |