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.82.tar.gz
(967.0 kB
view hashes)
Built Distribution
Close
Hashes for cdk-ecr-deployment-0.0.82.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a77d9d8c7224673d0c6118effff163165f4296837fbc8ee4b26acdfdcc3cbae |
|
MD5 | 2c7d6915c61e973edb38b2b9cb448cc4 |
|
BLAKE2b-256 | 3f8d6e9cd64655c3458c26aa10f14a83b84b7c9cf40bb17d925f39463b2cfe71 |
Close
Hashes for cdk_ecr_deployment-0.0.82-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f5e0a609fc9d09d5f89c823ac3e460bdea8ace64f5cf049e066ccb0fbb4c1b9 |
|
MD5 | bc17fb11dd83a572b53cfbcf2ee31376 |
|
BLAKE2b-256 | 3fbd4d150a64067fefdf863cb084451bd21af5a8bfe98f4c9e66999f31ed18d3 |