From 38afe7f52bbe19e64515266fd14eceea9e7a2035 Mon Sep 17 00:00:00 2001 From: moltenhub-bot Date: Tue, 14 Apr 2026 08:45:39 -0700 Subject: [PATCH 1/2] moltenhub-bump openclaw to 2026.4.14 --- OPENCLAW_VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OPENCLAW_VERSION b/OPENCLAW_VERSION index 69f18ee..f15a1f5 100644 --- a/OPENCLAW_VERSION +++ b/OPENCLAW_VERSION @@ -1 +1 @@ -2026.4.12 +2026.4.14 From fc76aba1924317b778af0e98520a0cc85f5dff56 Mon Sep 17 00:00:00 2001 From: moltenhub-bot Date: Tue, 14 Apr 2026 08:57:17 -0700 Subject: [PATCH 2/2] chore: update ./OPENCLAW_VERSION with the latest version (ci remediation 1) --- .github/workflows/docker-release.yml | 61 ++++++++++++++++++++++++++++ README.md | 2 + 2 files changed, 63 insertions(+) diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index fa91063..6c5c0aa 100644 --- a/.github/workflows/docker-release.yml +++ b/.github/workflows/docker-release.yml @@ -6,9 +6,66 @@ on: - main tags: - 'v*' + pull_request: + branches: + - main workflow_dispatch: jobs: + validate: + if: github.event_name == 'pull_request' + name: Build & Push Docker Image (${{ matrix.variant }}) + runs-on: ubuntu-latest + timeout-minutes: 120 + strategy: + fail-fast: false + matrix: + include: + - variant: debian + dockerfile: Dockerfile + platforms: linux/amd64,linux/arm64 + - variant: alpine + dockerfile: Dockerfile.alpine + platforms: linux/amd64 + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Read OpenClaw version from OPENCLAW_VERSION + id: openclaw_version + run: | + VERSION=$(tr -d '[:space:]' < OPENCLAW_VERSION) + if [ -z "$VERSION" ]; then + echo "OPENCLAW_VERSION not found in OPENCLAW_VERSION" + exit 1 + fi + echo "version=$VERSION" >> "$GITHUB_OUTPUT" + + - name: Extract Docker metadata (labels only) + id: meta + uses: docker/metadata-action@v5 + with: + images: moltenai/openclaw + + - name: Build Docker image (${{ matrix.variant }}) + uses: docker/build-push-action@v6 + with: + context: . + file: ${{ matrix.dockerfile }} + push: false + platforms: ${{ matrix.platforms }} + tags: moltenai/openclaw:validate-${{ steps.openclaw_version.outputs.version }}-${{ matrix.variant }} + labels: ${{ steps.meta.outputs.labels }} + cache-from: type=gha + cache-to: type=gha,mode=max + build-and-push: if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') name: Build & Push Docker Image (${{ matrix.variant }}) @@ -16,6 +73,7 @@ jobs: timeout-minutes: 120 environment: default strategy: + fail-fast: false matrix: include: - variant: debian @@ -29,6 +87,9 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 diff --git a/README.md b/README.md index 890e76e..b0be271 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,8 @@ Alpine tags are currently published for: [![Build & Push to Docker Hub](https://github.com/Molten-Bot/openclaw/actions/workflows/docker-release.yml/badge.svg)](https://github.com/Molten-Bot/openclaw/actions/workflows/docker-release.yml) +Pull requests run the Docker build matrix as validation; only `main` pushes and `v*` tags publish images to Docker Hub. + ## Usage ```bash