mirror of
https://github.com/hanzoai/iam.git
synced 2026-11-19 18:37:16 +00:00
iam2 can now build on the Hanzo self-hosted ARC runners (hanzo-build-linux-amd64), the same pipeline every hanzo service uses — the path to a real ghcr.io/hanzoai/iam2 image and production deploy. - go.mod: dropped the local replace directives (=> ../orm, ../../zap-proto/zip) and pinned the PUBLISHED versions (orm v0.6.1, zip v1.6.0). The local replaces were dev-only during the migration and don't exist in a CI container; verified iam2 builds + all tests pass against the published deps (no luxfi rot). - Dockerfile: multi-stage golang:1.26.4 → alpine, CGO_ENABLED=0 (pure-Go; hanzoai/sqlite's modernc engine needs no cgo), GOEXPERIMENT=jsonv2 per SCALE_STANDARD, version via ldflags, non-root uid 1000, /data volume, serves ZAP :9653 + HTTP :8080; CMD bootstraps from --init-data. - .github/workflows/build.yml: calls the shared hanzoai/.github docker-build.yml, image ghcr.io/hanzoai/iam2, linux/amd64, hanzo runners only (never cross-org). - .dockerignore: clean build context. Verified: the exact Dockerfile go build (CGO_ENABLED=0 GOEXPERIMENT=jsonv2 -trimpath -ldflags) compiles a working binary; oidc+seed suites green. Co-authored-by: Hanzo Dev <[email protected]>
7 lines
47 B
Plaintext
7 lines
47 B
Plaintext
data/
|
|
*.db
|
|
*.db-*
|
|
.git/
|
|
.claude/
|
|
node_modules/
|