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.73.tar.gz
(85.7 kB
view hashes)
Built Distribution
Close
Hashes for cdk-ecr-deployment-0.0.73.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e52d642db54c30a5cbf1654490cf528bb666db7e79232a97488fcbac39dfc3d2 |
|
MD5 | 7e01a340ac8a0bdbd9f070036de61209 |
|
BLAKE2b-256 | 80881eeb9529bde91e0c8be2e03fcaf4f6436618e71ed3cc76f391cee86bd46e |
Close
Hashes for cdk_ecr_deployment-0.0.73-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba280f2fb943333a1fec70b3e111b42a2667de2ec169d7d15ff468fe8ee67f16 |
|
MD5 | d8715276abac0d85ebbf46966b494429 |
|
BLAKE2b-256 | caaad27d3504332ae33986a53c3c86fec280a5d132998df8656f986de76c3a2c |