Container Image
@webframp/container-imagev2026.06.12.1
01README
Build, push, and inspect OCI container images. Registry-agnostic — works with ECR, GHCR, DockerHub, or any OCI-compliant registry. Supports docker, podman, nerdctl, and buildah. Produces typed, versioned build metadata.
02Models
@webframp/container-imagev2026.06.12.1container_image.ts
fn login(registry: string, username: string, password: string)
Authenticate to a container registry. Run before push for private registries.
| Argument | Type | Description |
|---|---|---|
| registry | string | Registry URL (e.g. 123456789012.dkr.ecr.us-east-1.amazonaws.com) |
| username | string | Registry username |
| password | string | Registry password or token |
fn build(contextPath: string, tag: string)
Build a container image from a Dockerfile. Supports multi-platform builds via buildx.
| Argument | Type | Description |
|---|---|---|
| contextPath | string | Path to the build context directory |
| tag | string | Image tag (e.g. 123456789012.dkr.ecr.us-east-1.amazonaws.com/my-repo:latest) |
fn push(tag: string)
Push a built image to its registry. Run login first for private registries.
| Argument | Type | Description |
|---|---|---|
| tag | string | Image tag to push |
fn inspect(tag: string)
Inspect a local image and return its metadata.
| Argument | Type | Description |
|---|---|---|
| tag | string | Image tag to inspect |
Resources
build(30d)— Container image build result
push(30d)— Container image push result with digest
inspect(7d)— Container image inspection metadata
03Stats
A
100 / 100
Downloads
0
Archive size
6.5 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
04Platforms
05Labels