Use Release OCE to qualify and publish the controller image, runtime image, Helm chart, and OpenClaw Control Plane (OCC) CLI from one reviewed commit. Start with a rehearsal.
- Set the root
package.jsonversion and Helm chartversionandappVersionto the same numericmajor.minor.patchversion. Merge the change to protectedmain. - Select a reviewed commit in protected
mainhistory and record its full 40-character SHA. You can select the tip or an earlier commit. Check release configuration, the GHCR package setup, and the integration approval environment. - In Actions → Release OCE → Run workflow, select
main. Setsource_shato the reviewed SHA. This is the only required input. Leavepublishunchecked for a rehearsal. The workflow qualifies the source in its own run without requiring a previous push CI run. - To move a custom image tag such as
candidateat publication, setimage_tag. A blank value selectslatest. A custom tag leaveslatestunchanged. The image tag rules reserve source, bootstrap, and version tags. - Check the version, commit, and alias in the run summary. As the dispatcher,
approve the run through
integration-main-approval. Wait for Full Integration Aggregate forlane=all, native image checks on Linux AMD64 and ARM64, CLI verification, and chart preparation.
A successful rehearsal checks the release destinations and leaves the prepared
artifacts and qualified-release-<run-id>-1 record in GitHub Actions. It
creates no registry tags or GitHub Release. The release records two commits.
The source SHA identifies the code under test and the artifacts. The workflow
SHA identifies the protected main workflow that qualified those artifacts.
Both stay fixed if main advances.
Start a fresh Release OCE dispatch with the reviewed inputs, select
publish, and approve the new run. It qualifies its own artifacts. Check
the following results before announcing the release.
| Output | What to verify |
|---|---|
| Controller and runtime | Both GHCR packages have the verified multi-platform digest at sha-<source_sha> and <version>. |
| Helm chart | The published chart version and appVersion match the release. Its controller and runtime digest references match the images. See Pull and install. |
| OCC CLI | The public GitHub Release at v<version> identifies the source commit and provides four macOS/Linux binaries and SHA256SUMS. See CLI setup. |
| Selected image alias | Both images have the selected alias at their verified digests. The workflow moves the alias after it verifies the chart and CLI. |
If publication stops, inspect the run summary, the GitHub Release or draft, and each registry digest. Record which assets are already public. Writes to GitHub and GHCR are separate. Even a failure between the two alias updates can leave different versions active. Use digest references while recovering.
Keep the original failed or cancelled run at attempt 1. The image and chart
artifacts expire after seven days. Start a new Release OCE run on
protected main. Enter the original source_sha and image_tag, select
publish, and set
recovery_run_id to the original publication run ID. Complete the new
approval. Recovery uses the current protected workflow to verify the original
run, attempt, source SHA, qualifying workflow SHA, and prepared bytes. It
completes missing steps from those bytes. The source must still be in main history. Expired evidence, conflicting bytes, or a newer alias
stops recovery. Preserve the original run and refer the conflict to a release
maintainer.
Enterprise Containers and Release OCC CLI also support independent
publication. Their release gates apply only to the outputs they own. Before the
first versioned rollout, maintainers must decide whether to require the combined
workflow or verified recovery for versioned releases and reserve latest for
complete releases. Coordinate writers until that decision takes effect.
| Guide | Purpose |
|---|---|
| Configuration | Set environment policies, registry destinations, credentials, and native runners. |
| Containers | Bootstrap packages, publish images, and recover partial publication. |
| Helm chart | Publish a versioned chart with matching image tags and install it. |
| OCC CLI | Publish versioned macOS and Linux binaries. |
| Docker Hub promotion | Copy verified GHCR image digests to private Docker Hub repositories. |
Staging release qualification checks published container startup on amd64. It does not install or promote a release, prove staging readiness, or replace CI coverage.