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.71.tar.gz
(85.7 kB
view hashes)
Built Distribution
Close
Hashes for cdk-ecr-deployment-0.0.71.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 898e803414e066cdd2782c50df7e6e57efff103bab9bbb4673a8aad0182e63b8 |
|
MD5 | 54b3e2066b6b8c463ed655bbd083802a |
|
BLAKE2b-256 | aff83e0276c8ecf5c2cccaedd9c60395088a1bd2b3e907baf2bd9ac14c18f396 |
Close
Hashes for cdk_ecr_deployment-0.0.71-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 823963f67b7d490c326b1bb8e78bf26a420c5dc7f41c530a0405e5175eddf657 |
|
MD5 | dac403f9c04494a5ec531ad078eecac6 |
|
BLAKE2b-256 | 449cdc7e44553caa3db7e93d37e9507578e0efd3681f4f0b97849902f6db7ff8 |