Files
zeekay 0b2e3abe65 chore: initial commit — tree had no git at all
github.com/hanzoai/template existed only as loose files: no .git, no history, no remote. Sweeps that
look for a .git directory could not see it, and an rm -rf would have destroyed
it with nothing to recover from.

Committed as-is; no source modified.

NOTE: no remote. This is still one copy in one place.
2026-07-26 04:41:01 -07:00

37 lines
998 B
YAML

# Cloud Build config for hanzoai/template.
#
# Two parallel native-arch builds → manifest. No QEMU. No GitHub runners.
# Pushes to ghcr.io/hanzoai/template — Hanzo images stay on GHCR.
steps:
- name: gcr.io/cloud-builders/docker
id: build-amd64
args:
- buildx
- build
- --platform=linux/amd64
- --tag=ghcr.io/hanzoai/template:${SHORT_SHA}-amd64
- --push
- .
- name: gcr.io/cloud-builders/docker
id: build-arm64
args:
- buildx
- build
- --platform=linux/arm64
- --tag=ghcr.io/hanzoai/template:${SHORT_SHA}-arm64
- --push
- .
- name: gcr.io/cloud-builders/docker
id: manifest
waitFor: [build-amd64, build-arm64]
args:
- buildx
- imagetools
- create
- --tag=ghcr.io/hanzoai/template:${SHORT_SHA}
- ghcr.io/hanzoai/template:${SHORT_SHA}-amd64
- ghcr.io/hanzoai/template:${SHORT_SHA}-arm64
options:
machineType: E2_HIGHCPU_8
logging: CLOUD_LOGGING_ONLY