Files
gallery/.platform.yml
zeekayandClaude Opus 4.8 eb1fdf3508 feat(deploy): gallery.hanzo.ai static image (hanzoai/static) + one-way .platform.yml
Dockerfile: Next.js static export -> ghcr.io/hanzoai/static:0.4.1 serve (--spa).
.platform.yml: vX.Y.Z tag -> platform BuildKit -> ghcr.io/hanzoai/gallery:X.Y.Z.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-02 21:45:51 -07:00

14 lines
520 B
YAML

# gallery.hanzo.ai — the Hanzo template gallery.
# ONE-WAY build: push a vX.Y.Z git tag -> platform (platform.hanzo.ai) BuildKit
# builds ghcr.io/hanzoai/gallery:X.Y.Z from ./Dockerfile and pushes to GHCR.
# Deploy is via the operator Service CR (universe: crs/gallery-site.yaml); bump
# that CR's image tag to roll. amd64 only (DOKS has no arm64 yet).
build:
matrix:
- { os: linux, arch: amd64 }
dockerfile: ./Dockerfile
context: .
image: ghcr.io/hanzoai/gallery
tag-pattern: "{{git.tag}}"
push: true