Build & Push local docker images inside CDK8s applications
Project description
cdk8s-image
An Image construct which takes care of building & pushing docker images that
can be used in CDK8s apps.
The following example will build the docker image from Dockerfile under the
my-app directory, push it to a local registry and then define a Kubernetes
deployment that deploys containers that run this image.
const image = new Image(this, 'image', {
dir: `${__dirname}/my-app`,
registry: 'localhost:5000'
});
new Deployment(this, 'deployment', {
containers: [ new Container({ image: image.url }) ],
});
Contributions
All contributions are celebrated.
License
Licensed under Apache 2.0.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cdk8s_image-0.2.741.tar.gz.
File metadata
- Download URL: cdk8s_image-0.2.741.tar.gz
- Upload date:
- Size: 29.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f00a029f71d430f7d4281b40632a48883036e432a173268ed6172138d64fe26
|
|
| MD5 |
9a8668cd00756448852810811c1fdca7
|
|
| BLAKE2b-256 |
b0842a204f99e9a05b793a04fe9417d7a00f464ae8b62702af067459360615ef
|
Provenance
The following attestation bundles were made for cdk8s_image-0.2.741.tar.gz:
Publisher:
release.yml on cdk8s-team/cdk8s-image
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cdk8s_image-0.2.741.tar.gz -
Subject digest:
7f00a029f71d430f7d4281b40632a48883036e432a173268ed6172138d64fe26 - Sigstore transparency entry: 1191298039
- Sigstore integration time:
-
Permalink:
cdk8s-team/cdk8s-image@f1c0690d555522e4e49bbbb25ec2a6d4f8618901 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/cdk8s-team
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f1c0690d555522e4e49bbbb25ec2a6d4f8618901 -
Trigger Event:
push
-
Statement type:
File details
Details for the file cdk8s_image-0.2.741-py3-none-any.whl.
File metadata
- Download URL: cdk8s_image-0.2.741-py3-none-any.whl
- Upload date:
- Size: 28.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
932f52f579fb01898ca41c4b3d56e5a0d5797fddd3f94fb41ba5ef0e5d4d8f12
|
|
| MD5 |
a6bffc49cb8bb1cb52343589624d016a
|
|
| BLAKE2b-256 |
1801edde443941b8d92991b56873f83bb630ce455600c84ec6d4f2d20b678a9f
|
Provenance
The following attestation bundles were made for cdk8s_image-0.2.741-py3-none-any.whl:
Publisher:
release.yml on cdk8s-team/cdk8s-image
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cdk8s_image-0.2.741-py3-none-any.whl -
Subject digest:
932f52f579fb01898ca41c4b3d56e5a0d5797fddd3f94fb41ba5ef0e5d4d8f12 - Sigstore transparency entry: 1191298030
- Sigstore integration time:
-
Permalink:
cdk8s-team/cdk8s-image@f1c0690d555522e4e49bbbb25ec2a6d4f8618901 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/cdk8s-team
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f1c0690d555522e4e49bbbb25ec2a6d4f8618901 -
Trigger Event:
push
-
Statement type: