Repository navigation
ci: build and publish the dashboard image to GHCR - #69
Conversation
Add a multi-stage Dockerfile that builds apps/dashboard with the self-hosted node preset and ships only the Nitro .output bundle, plus a cd workflow modelled on wolfstar-project/.github's reusable publish workflow: native amd64/arm64 builds pushed by digest, merged into one manifest list on ghcr.io. The image listens on $PORT, so it runs on Docker and Railway unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016Xv8HFiGBXf14HBy5yko6J
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016Xv8HFiGBXf14HBy5yko6J
◈ PR LensNote The title starts with
|
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
…olation limits Release tags must now be exactly v<apps/dashboard version> before the cd workflow builds the release channel. The README's docker run example mounts code-zero.deployment.yml, and the container section states that the image ships no container engine, so runner.isolation: container is unsupported there and fails closed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016Xv8HFiGBXf14HBy5yko6J
|
CI is red for a reason outside this PR. Every job that installs dependencies (lint, typecheck, tests, build, knip, i18n, autofix) fails at
No fix PR exists yet. A proposed patch, kept out of this PR because it rewrites the lockfile: - "@lunariajs/core": "https://pkg.pr.new/lunariajs/lunaria/@lunariajs/core@904b935",
+ "@lunariajs/core": "^0.2.0",Then run Generated by Claude Code |
…js/core 0.2.0 packages/i18n pinned @lunariajs/core to a pkg.pr.new preview build that now returns 404, so every clean `aube ci` fails before any task runs. Depend on the published 0.2.0 release instead. Its API is the one i18n-status.ts already uses; missing keys are now reported as key paths (string arrays), so the status report joins them with dots. The lockfile was regenerated with `aube add`, which also rewrote the @prisma/client and drizzle-orm peer references of the two @better-auth/*-adapter@1.6.26 snapshots to a variant with no snapshot of its own. A frozen `aube ci` then links the drizzle adapter to a drizzle-orm directory that is never created and the dashboard build fails, so those two references keep their main values; `aube install` accepts the result unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016Xv8HFiGBXf14HBy5yko6J
Extract the formatting into scripts/utils/lunaria-status.ts and assert that key path segments are dot-joined, so a wrong separator fails the package tests instead of only surfacing in status.json. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016Xv8HFiGBXf14HBy5yko6J
…ile-github-cd-workflow-s49dsg Port the @lunariajs/core fix from #70 so this branch installs and CI can run; it becomes a no-op once main carries #70. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016Xv8HFiGBXf14HBy5yko6J
|
The docs build was a remote-cache hit ( No fix exists yet. Proposed patch, kept out of this PR because it's unrelated to the Docker/CD change: "@code-zero/docs#build": {
…
- "outputs": [".output/**"],
+ "outputs": [".output/**", ".vercel/output/**"],
},A re-run would hit the same cache entry, so I haven't triggered one. The GitHub Actions CI for this commit is unaffected. Generated by Claude Code |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016Xv8HFiGBXf14HBy5yko6J
Add a multi-stage Dockerfile that builds apps/dashboard with the
self-hosted node preset and ships only the Nitro .output bundle, plus a
cd workflow modelled on wolfstar-project/.github's reusable publish
workflow: native amd64/arm64 builds pushed by digest, merged into one
manifest list on ghcr.io. The image listens on $PORT, so it runs on
Docker and Railway unchanged.
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_016Xv8HFiGBXf14HBy5yko6J
Safe to merge.
Reviews (4) · Last reviewed commit: "Merge branch 'main' into claude/dockerfi..."