Files
zeekay aa981f1d7a Publish images to ghcr.io/hanzo-inc [skip ci]
This repository is private, so what it builds belongs in the private
registry namespace, never in ghcr.io/hanzoai, where a package can be
public.
2026-09-30 01:15:47 -07:00

26 lines
935 B
YAML

# Build and test, read by hanzoai/ci (.github/workflows/cicd.yml) on our own runners.
#
# Two images under one repository, told apart by tag suffix. `web` is the
# console: it serves every white-label host, and the brand is chosen in the
# browser from the hostname (console/lib/brand.ts). `api` is the Python API in
# api/, versioned by api/pyproject.toml; its Dockerfile fetches amd64 kubectl and
# helm, so it is built for linux/amd64 alone.
images:
- name: web
context: .
dockerfile: console/Dockerfile
repo: ghcr.io/hanzo-inc/bootnode
tag-suffix: web
# The console's own version names the image.
version: "sh:jq -r .version console/package.json"
- name: api
context: api
dockerfile: api/Dockerfile
platforms: [linux/amd64]
repo: ghcr.io/hanzo-inc/bootnode
tag-suffix: api
test:
- name: console
run: cd console && pnpm install --frozen-lockfile && pnpm test && pnpm typecheck