Files
openapi/hanzo.yml
T
4bac9b547c feat(agent-skills): publish the skills catalog as a versioned artifact image (#34)
* feat(agent-skills): publish the skills catalog as a versioned artifact image

Decomplect hanzoai/cloud's build: the /.well-known/agent-skills catalog
(skills.py --no-services -> /catalog) is now a versioned immutable image
(agent-skills) built by openapi's OWN CI, not re-run inside every cloud
release. cloud will FROM registry.hanzo.ai/hanzoai/agent-skills:<tag> AS skills
+ COPY --from=skills /catalog/, so cloud compiles only Go.

- Dockerfile.skills: python gen -> FROM scratch with /catalog (fail-hard on a
  missing master index, same invariant cloud's skills stage enforced).
- hanzo.yml: images: agent-skills (hanzoai/ci builds + auto-mirrors).
- cicd.yml: canonical hanzoai/ci caller.


* ci: trigger CI/CD for the agent-skills artifact


---------

Co-authored-by: hanzo-dev <[email protected]>
2026-07-16 20:24:46 -07:00

14 lines
622 B
YAML

# Canonical CI config for hanzoai/openapi — read by the hanzoai/ci reusable
# (.github/workflows/cicd.yml) and platform.hanzo.ai.
#
# Publishes the agent-skills catalog (/.well-known/agent-skills, skills.py
# --no-services) as a versioned immutable image whose rootfs is /catalog.
# hanzoai/cloud consumes it via `FROM ... AS skills` + `COPY --from=skills
# /catalog/`, so it never re-runs skills.py inside a cloud release. hanzoai/ci
# pushes to `repo:` (GHCR) and auto-mirrors to registry.hanzo.ai.
images:
- name: agent-skills
context: .
dockerfile: Dockerfile.skills
repo: ghcr.io/hanzoai/agent-skills