Skip to content

Latest commit

 

History

History
67 lines (52 loc) · 5.89 KB

configuration.md

File metadata and controls

67 lines (52 loc) · 5.89 KB

Release configuration

Overview

Set up GitHub Actions, registry destinations, and native builders before publishing containers, Helm charts, or OCC CLI binaries.

Set repository variables under Settings → Secrets and variables → Actions. Set environment variables and secrets under Settings → Environments → container-publish.

Build settings

Repository variable Required/default Purpose
CONTAINER_NODE_BASE_IMAGE Required for publication and native checks invoked by CI; no approved default Full Node 24 image@sha256:... matching scripts/ci/test-suites/images-packaging.json and deploy/runtime/Dockerfile. Use repository or organization scope: preparation has no environment.
CONTAINER_AMD64_RUNNER Optional; blacksmith-16vcpu-ubuntu-2404 Native AMD64 image checks.
CONTAINER_ARM64_RUNNER Optional; blacksmith-8vcpu-ubuntu-2404-arm Native ARM64 image checks.

A standalone native image check uses the selected source's checked-in CI base.

Runner overrides must select provisioned Linux runners with the matching architecture, at least four CPUs, 12 GiB RAM, and enough disk for the build. The override takes precedence for both images.

Runtime smoke uses fresh native runners with the same runner overrides, after verifying the retained OCI build. Both construction and smoke must succeed; an intermediate build artifact is not a qualified release image.

The CI Image Cache workflow builds controller/runtime caches without provider secrets. GitHub supplies its cache credentials; it does not publish container images.

Publication configuration

Protect main, require CI Required for merge, and review workflow changes. The standalone image and CLI workflows require successful push CI for the release commit. Release OCE qualifies the selected commit through Full Integration and requires the dispatcher's approval through integration-main-approval. Keep provider credentials in the integration environments.

Create a separate container-publish environment: no required reviewers or wait timer, administrator bypass disabled, and exactly one deployment rule, branch main. The validator enforces the name, bypass, and branch policy, not reviewer or timer settings. Do not reuse integration environments.

Environment setting Required for Value
Variables GHCR_CONTROLLER_IMAGE, GHCR_RUNTIME_IMAGE Bootstrap, image publication/recovery, chart publication Distinct full ghcr.io/openclaw/... names without tags or digests.
Variables DOCKERHUB_CONTROLLER_IMAGE, DOCKERHUB_RUNTIME_IMAGE Docker Hub promotion Distinct pre-existing private docker.io/<namespace>/<repository> names without tags or digests. Creation needs separate operator authorization.
Secret DOCKERHUB_USERNAME Promotion Account identifier; organization name for an organization access token.
Secret DOCKERHUB_TOKEN Promotion Scoped PAT or organization access token with read/write access only to authorized destinations.

GHCR uses the workflow's short-lived token with packages: write; no PAT is required. Promotion uses packages: read and exposes Docker Hub credentials only to transfer. Preparation has no environment or registry credentials.

Publication/recovery require the public Enterprise repository and pre-existing public image packages; chart publication also needs public ghcr.io/openclaw/charts/openclaw-enterprise. Confirm repository linkage and Manage Actions access using the package checks. Before making packages public, inventory retained versions and grants: every layer/chart must be intended for public release. Visibility exposes all retained versions and cannot revert to private; use separate destinations if needed. Marker bootstrap creates private placeholders, not visibility changes or grants. Missing configuration, conflicting identity, inaccessible metadata, or incorrect visibility stops publication.