Files
zooqueenandHanzo Dev 6697718edc Build ghcr.io/hanzoai/flow on the forge
hanzo.yml declares the image and a core Go gate for hanzoai/ci's build.yml,
called from .hanzo/workflows/cicd.yml on every push to main. The image
version is the project version in pyproject.toml, now 1.8.5.

The forge reads the first workflow directory that exists, so security.yml
and storybook.yml move beside cicd.yml and ask for linux-amd64, the label
forge runners advertise.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-15 11:20:00 -07:00

24 lines
682 B
YAML

# Hanzo CI: read by hanzoai/ci's build.yml, which .hanzo/workflows/cicd.yml calls.
#
# One image for flow.hanzo.ai: flowweb (core/cmd/flowweb) serves the embedded UI
# on :8080 and proxies the API to the Python backend on loopback (Dockerfile).
# The image version is the project version in pyproject.toml. The root
# package.json carries no version, so it is named here.
version: 'pyproject.toml:sed -n ''s/^version = "\(.*\)"$/\1/p'' pyproject.toml'
images:
- name: flow
context: .
dockerfile: Dockerfile
repo: ghcr.io/hanzoai/flow
test:
- name: core
run: |
set -e
cd core
export GOWORK=off
go vet ./...
go test -count=1 ./...