From 65c58ea81be3177f7a1fb64f746f345147039430 Mon Sep 17 00:00:00 2001 From: Eduardo Russo Date: Sat, 17 Oct 2026 18:19:02 +0100 Subject: [PATCH] chore: release azure-host's image to ghcr.io/open-craw smith 1.11.0 makes the docker convention configurable (monosmith #285), so it is on again: azure-host gets an image task, and each of its releases pushes ghcr.io/open-craw/opencraw-azure-host: and :latest with the workflow's GITHUB_TOKEN (packages: write), no stored secret. The workflows move to smith 1.11.0. Refs #313 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01TjR6eM2tUwU3NGnKXsmEap --- .devcontainer/devcontainer.json | 2 +- .github/workflows/ci.yml | 3 ++- .github/workflows/desktop-package.yml | 2 +- .github/workflows/e2e.yml | 2 +- .github/workflows/vscode-e2e.yml | 2 +- .github/workflows/vscode-package.yml | 2 +- .github/workflows/vscode-publish.yml | 2 +- smith.toml | 8 ++++++++ 8 files changed, 16 insertions(+), 7 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 2378c978..20ff18b6 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -11,5 +11,5 @@ "version": "3.12" } }, - "postCreateCommand": "curl -fsSL https://raw.githubusercontent.com/monosmith-app/monosmith/main/install.sh | sh -s -- \"1.10.1\" && \"$HOME/.local/bin/smith\" ci setup" + "postCreateCommand": "curl -fsSL https://raw.githubusercontent.com/monosmith-app/monosmith/main/install.sh | sh -s -- \"1.11.0\" && \"$HOME/.local/bin/smith\" ci setup" } diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f113bed..98d97a04 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,7 @@ on: permissions: contents: write pull-requests: write + packages: write concurrency: group: ci-${{ github.ref }} @@ -32,7 +33,7 @@ jobs: - name: Install smith run: curl -fsSL https://raw.githubusercontent.com/monosmith-app/monosmith/main/install.sh | sh -s -- "$SMITH_VERSION" env: - SMITH_VERSION: 1.10.1 + SMITH_VERSION: 1.11.0 GITHUB_TOKEN: ${{ github.token }} # smith:slot before-setup # The lockfile is written by npm 12: npm 11 prunes the nested @emnapi entries of the diff --git a/.github/workflows/desktop-package.yml b/.github/workflows/desktop-package.yml index de0e64b4..a5adfc23 100644 --- a/.github/workflows/desktop-package.yml +++ b/.github/workflows/desktop-package.yml @@ -33,7 +33,7 @@ jobs: shell: bash run: curl -fsSL https://raw.githubusercontent.com/monosmith-app/monosmith/main/install.sh | sh -s -- "$SMITH_VERSION" env: - SMITH_VERSION: 1.10.1 + SMITH_VERSION: 1.11.0 GITHUB_TOKEN: ${{ github.token }} - run: npm ci - name: Installer diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index f724783c..7f14bd2b 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -24,7 +24,7 @@ jobs: shell: bash run: curl -fsSL https://raw.githubusercontent.com/monosmith-app/monosmith/main/install.sh | sh -s -- "$SMITH_VERSION" env: - SMITH_VERSION: 1.10.1 + SMITH_VERSION: 1.11.0 GITHUB_TOKEN: ${{ github.token }} - run: npm ci - run: npm run core:e2e diff --git a/.github/workflows/vscode-e2e.yml b/.github/workflows/vscode-e2e.yml index f4b4323b..f4f979f3 100644 --- a/.github/workflows/vscode-e2e.yml +++ b/.github/workflows/vscode-e2e.yml @@ -27,7 +27,7 @@ jobs: shell: bash run: curl -fsSL https://raw.githubusercontent.com/monosmith-app/monosmith/main/install.sh | sh -s -- "$SMITH_VERSION" env: - SMITH_VERSION: 1.10.1 + SMITH_VERSION: 1.11.0 GITHUB_TOKEN: ${{ github.token }} - run: npm ci # The libraries an Electron editor needs on a bare runner. diff --git a/.github/workflows/vscode-package.yml b/.github/workflows/vscode-package.yml index e709d43d..8b50ee64 100644 --- a/.github/workflows/vscode-package.yml +++ b/.github/workflows/vscode-package.yml @@ -31,7 +31,7 @@ jobs: shell: bash run: curl -fsSL https://raw.githubusercontent.com/monosmith-app/monosmith/main/install.sh | sh -s -- "$SMITH_VERSION" env: - SMITH_VERSION: 1.10.1 + SMITH_VERSION: 1.11.0 GITHUB_TOKEN: ${{ github.token }} - run: npm ci - name: Package the extension diff --git a/.github/workflows/vscode-publish.yml b/.github/workflows/vscode-publish.yml index 6af923b7..7e580e1f 100644 --- a/.github/workflows/vscode-publish.yml +++ b/.github/workflows/vscode-publish.yml @@ -90,7 +90,7 @@ jobs: shell: bash run: curl -fsSL https://raw.githubusercontent.com/monosmith-app/monosmith/main/install.sh | sh -s -- "$SMITH_VERSION" env: - SMITH_VERSION: 1.10.1 + SMITH_VERSION: 1.11.0 GITHUB_TOKEN: ${{ github.token }} - run: npm ci - name: Package the extension diff --git a/smith.toml b/smith.toml index a1a25593..67489df5 100644 --- a/smith.toml +++ b/smith.toml @@ -22,6 +22,14 @@ node = "node-vitest" [release] github_releases = true +# azure-host ships as a container image: each release builds it and pushes it to the +# org's GitHub Container Registry with the workflow's GITHUB_TOKEN (no stored secret). +[conventions.docker] +registry = "ghcr.io/open-craw" + +[projects.azure-host.docker] +image = "opencraw-azure-host" + # Files named for their role, one folder per outcome: Node is checked by the ESLint # config, the other languages by a slice-check task that runs before lint. [conventions.vertical-slices]