Files
brand/hanzo.yml
T
zandGitHub a980f1c4f4 Build the image through hanzoai/ci
deploy.yml ran buildx on a runner with no Docker daemon, so it never
published. hanzo.yml now declares the image and cicd.yml hands it to the
build door.

Claude-Session: https://claude.ai/code/session_01HuMDfgFssPUptYUzgZ6Cp8
2026-09-24 10:20:31 -07:00

28 lines
1021 B
YAML

# Canonical CI/CD config for hanzoai/brand — the one file both the hanzoai/ci
# reusable (.hanzo/workflows/cicd.yml) and platform.hanzo.ai read.
#
# @hanzo/brand is an npm package; the static brand site it also carries is the
# image declared at the end of this file, built by the build door.
#
# The gate is the package's own: type-check, then `pnpm test`, which builds all
# seven tsup entries and then runs the node:test suites against the result. The
# two suites are the ones that matter for a brand registry — brand.json
# consistency (the data file agreeing with itself) and the registry surface —
# so a token added to the JSON without a registry entry, or the reverse, is red.
test:
- name: build
run: |
set -e
corepack enable
pnpm install --frozen-lockfile
pnpm type-check
pnpm test
# Built by the build door, one BuildKit Job per platform.
images:
- name: brand
context: .
dockerfile: Dockerfile
repo: ghcr.io/hanzoai/brand
platforms: [linux/amd64]