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.76.tar.gz
(85.7 kB
view hashes)
Built Distribution
Close
Hashes for cdk-ecr-deployment-0.0.76.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3299eb0a95d10d8030fb8cd9b77622c4d3a6a6d7c0b60272ce895e1f78a0968 |
|
MD5 | 1f95a218582cda7eeaf032f240ba7398 |
|
BLAKE2b-256 | 26c9bb847c2b5177c1e60a496191472730b3c3fa07d9f2768ae4392d5f99ec21 |
Close
Hashes for cdk_ecr_deployment-0.0.76-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 452dc9ee6dfe151534519cad1fe638d388865b6bb3e271313b8dc1f12a7a5b7a |
|
MD5 | 6882a3a71b9bd89667ceb78c9a9d8ae7 |
|
BLAKE2b-256 | d879b4eed771c7b4fd762e7e4a267cf3b842cb638948f5baaba4339fd8532f9d |