first commit

This commit is contained in:
2026-07-08 14:58:58 +07:00
commit 634c8e8ba5
19 changed files with 471 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
# Woodpecker CI — build image spark-cdc, push lên container registry.
# Registry: đặt theo hạ tầng hiện tại; đích cuối là Gitea registry (git.dbiz.com) khi sẵn sàng.
# Secret khai trong Woodpecker UI: registry_user, registry_token.
when:
- event: push
branch: main
path: "images/spark-cdc/**"
steps:
build-push:
image: woodpeckerci/plugin-docker-buildx
settings:
registry: ${REGISTRY_HOST} # vd git.dbiz.com (Gitea) hoặc registry hiện tại
repo: ${REGISTRY_HOST}/dbiz/spark-cdc
dockerfile: images/spark-cdc/Dockerfile
context: images/spark-cdc
tags:
- latest
- ${CI_COMMIT_SHA:0:8}
username:
from_secret: registry_user
password:
from_secret: registry_token