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.68.tar.gz
(85.6 kB
view hashes)
Built Distribution
Close
Hashes for cdk-ecr-deployment-0.0.68.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9286ac837b8dfae86ba0f4ed6e0be33310467a97ba17f57dc67b19f5549ed502 |
|
MD5 | 69e5781571f723cc78a71cb0f04f1a95 |
|
BLAKE2b-256 | 262fbf9e4e80b650a002e711f0ce32aaee5c13c357f36221f499513ec6c480f7 |
Close
Hashes for cdk_ecr_deployment-0.0.68-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0145e8caad6221a3b826d5092c652ce7789f83ecc1e2cfe86be8a9a194627ad6 |
|
MD5 | d4031b597dab59a2057b829c85be23ad |
|
BLAKE2b-256 | 6ccdc1698631ee1a42e78941699864d8753f601c8d30fa3f680aef0229d4edf2 |