Skip to content

feat(azure-host): publish the host's image to ghcr.io on release - #327

Merged
russoedu merged 1 commit into
mainfrom
feat/azure-host-image
Oct 18, 2026
Merged

russoedu merged 1 commit into
mainfrom
feat/azure-host-image

Conversation

@russoedu

Copy link
Copy Markdown
Collaborator

smith 1.13.0 ships a Node app prune (monosmith-app/monosmith#297), so the docker convention is back on (it was turned off in #319).

  • [conventions.docker]: registry = "ghcr.io/open-craw". Each release pushes ghcr.io/open-craw/opencraw-azure-host with the workflow's GITHUB_TOKEN; ci.yml gains packages: write. PRs build the image without pushing.
  • [projects.azure-host.docker]: context = "apps/azure-host", where the Dockerfile reads dist/.
  • prune: smith npm-prune apps/azure-host --out apps/azure-host/dist. It writes the app's own package.json, a lockfile cut from the workspace's, and the 8 @opencraw packages it uses under dist/workspace_modules. That is exactly what the Dockerfile copies.
  • smith 1.12.4 → 1.13.0 in every workflow.
  • Docs: the README, the Dockerfile, deploy.sh and docs/recipes/azure-durable.md now say smith run prune -p azure-host instead of the Nx target.

Verified locally:

  • smith run prune -p azure-host: 18 of 18 tasks succeeded.
  • smith run lint typecheck test build: 76 of 76.
  • npm run lint:workspace: passes.
  • smith doctor: 52 passed. Its one failure is this machine's Docker engine not running.

Not verified locally: docker build itself, for the same reason. This PR's CI is the image's first real build.

deploy.sh still builds its own image in ACR. Pointing it at the ghcr image follows once the first release has pushed one.

🤖 Generated with Claude Code

https://claude.ai/code/session_01TjR6eM2tUwU3NGnKXsmEap

smith 1.13.0 prunes a Node app (monosmith-app/monosmith#297), so the
docker convention is back on: azure-host's prune task writes dist/ with
its own package.json, lockfile and the workspace packages it uses, PRs
build the image without pushing, and each release pushes it as
ghcr.io/open-craw/opencraw-azure-host. The docs run smith's prune instead
of Nx's.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TjR6eM2tUwU3NGnKXsmEap
@github-actions

Copy link
Copy Markdown

Release preview

Package Version Why Status
azure-host new → 0.1.0 4 releasing commit(s) planned

Unchanged: agent, office-reader, core, probe, studio, cli, mcp, azure-durable, captcha-tesseract, driver, ocr-tesseract, opencraw

@russoedu
russoedu merged commit 1c76555 into main Oct 18, 2026
9 checks passed
@russoedu
russoedu deleted the feat/azure-host-image branch October 18, 2026 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant