- Container images
- Helm charts
- Kubernetes manifests
- Kustomize overlays
- OPA policies
Traditional vs. OCI-Based Storage
| Resource Type | Traditional Storage | Unified OCI Registry |
|---|---|---|
| Container images | Container registries | OCI-compliant registry |
| Helm charts | Artifact Hub or Helm registries | OCI-compliant registry |
| Kubernetes manifests & overlays | Git repositories | OCI-compliant registry |
| OPA policies | Open Policy Registry | OCI-compliant registry |
An OCI registry implements the OCI Distribution Specification, enabling you to store any artifact type beyond container images.
OCI Registries and Repositories
An OCI Registry is a server-side component that hosts one or more repositories, each containing multiple artifacts at various tags or digests.- Registry → Repository → Artifact
- Artifacts can be images, charts, manifests, or any OCI-compatible payload
ghcr.io). The workflow applies equally to Azure, GCR, ECR, and other OCI-compliant registries.
1. Pushing a Docker Image
- Authenticate with the registry.
- Tag your local image.
- Push it upstream.
Never commit your
Personal Access Token or other credentials to version control. Store them securely with your CI/CD secrets manager.2. Pushing a Helm Chart
- Generate a new chart.
- Package it into a
.tgz. - Authenticate via Helm.
- Push to the OCI registry.
3. Publishing Plain Kubernetes Manifests
Bundle your plain YAML manifests as an OCI artifact using the Flux CLI.- Ensure you’re logged in (via Docker).
- Push the manifest directory.
What’s Next?
With your artifacts securely stored in an OCI registry, you can seamlessly integrate any GitOps tool—such as Flux—to pull, verify, and deploy them into your Kubernetes clusters.Links and References
- Open Container Initiative (OCI)
- OCI Distribution Specification
- GitHub Container Registry
- Helm OCI Registry Support
- Flux CLI: push artifact