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.70.tar.gz
(85.7 kB
view hashes)
Built Distribution
Close
Hashes for cdk-ecr-deployment-0.0.70.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6276fc870f100f8b91acf05c8b8a097a863bccf8770476c9da41e57c3ec9bd51 |
|
MD5 | 817f723e380459861c2bce59fd5a8659 |
|
BLAKE2b-256 | 2003b21e8150c40c8dd22898bf15892b837db6c2d2408a5148860917cc4d5ca6 |
Close
Hashes for cdk_ecr_deployment-0.0.70-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60a8d6210d09168d3a84e11996b110edf7436cd29e679ffea2e4b8957225c401 |
|
MD5 | df7cdce0a5696072e1fd3501393341bd |
|
BLAKE2b-256 | dc803b2faff6a7054148d3926944b67129ad6923289c1e6fa11a3a18c72d09be |