debezium / debezium/dbz

Build Week 8: debezium push - OCI image registry push

Open
#2,438 1 comment 0 reactions 1 assignee Claimed by @Binayak490-cyber View on GitHub
component/cli type/task
Dominant language
HTML
Stars
6
Forks
8
Avg merge
2d 19h
Merged PRs (30d)
1

Description

Following Week 7 (`debezium build`, `debezium build --image`, OCI image assembly via Jib), Week 8 implements `debezium push` - authenticating and pushing the assembled OCI image to Docker Hub, GHCR or a custom registry.

---

## Part 1: Registry authentication

**Proposed behaviour:**
- Read credentials from the user's existing Docker credential store (`~/.docker/config.json`) - if the user is already logged in via
`docker login`, no extra setup needed
- Fallback to environment variables: `DBZ_REGISTRY_USERNAME` / `DBZ_REGISTRY_PASSWORD`
- Final fallback: registry credentials in `~/.dbz/config.yaml`
- Resolution order: env vars → `~/.dbz/config.yaml` → `~/.docker/config.json`

**Implementation:**
- `RegistryAuthResolver.java` — implements the three-level credential resolution chain
- Unit tests for each resolution path

---

## Part 2: `debezium push`

```bash
debezium push
debezium push --registry ghcr.io/myorg
debezium push --config path/to/dbz.yaml # defaults to ./dbz.yaml

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.