chore(ci): platform-native .platform.yml build config (#11)

v* git tag -> platform BuildKit builds ghcr.io/hanzoai/mcp:<semver> in-cluster.
One-way pipeline; no GHA/ARC. Build-only (deploy = operator Service CR).

Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
2026-07-03 09:30:53 -07:00
committed by GitHub
co-authored by Hanzo Dev
parent 94a9308a84
commit 697dd4255d
+14
View File
@@ -0,0 +1,14 @@
# Platform-native CI/CD — the ONE build path for this repo.
# A v* git tag push → the platform GitHub App (hanzo-cloud-app) webhook →
# platform BuildKit builds ghcr.io/hanzoai/mcp:<semver> (tag minus the leading v)
# in-cluster. NO GitHub Actions, NO ARC runners, NO sha/-suffix drift. Deploy is
# the operator Service CR patch (services.hanzo.ai/mcp), the one way for system
# services — not declared here (build-only).
# Schema: hanzoai/platform docs/PLATFORM_CI.md (parsed by platform-config.ts).
build:
matrix:
- { os: linux, arch: amd64 } # amd64-only (DOKS has no arm64; re-add when it does)
dockerfile: ./Dockerfile
context: .
image: ghcr.io/hanzoai/mcp
tag-pattern: "{{git.tag}}" # vX.Y.Z git tag → X.Y.Z image (semver, one way)