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>
14 lines
520 B
YAML
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
|