Skip to content

Commit be64409

Browse files
authored
Merge pull request #54 from 0xMassi/fix/docker-multiarch-release
chore: release v0.6.9 (fix multi-arch Docker publish)
2 parents 7dfa180 + 2773474 commit be64409

4 files changed

Lines changed: 24 additions & 16 deletions

File tree

.github/workflows/release.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -172,29 +172,32 @@ jobs:
172172
done
173173
ls -laR binaries-*/
174174
175-
# Build per-arch images with plain docker build (no buildx manifest nesting)
175+
# Build each arch with buildx (the docker-container driver from
176+
# setup-buildx-action), pushing straight to the registry. Plain
177+
# `docker build --push` uses the legacy docker driver, whose GHCR push
178+
# path intermittently fails with "ERROR: unknown blob"; buildx's registry
179+
# exporter does not. The multi-arch list is then assembled registry-side
180+
# with `imagetools create` (no local manifest store, so no blob races).
176181
- name: Build and push
177182
run: |
178183
tag="${GITHUB_REF#refs/tags/}"
179184
180185
# amd64
181-
docker build -f Dockerfile.ci --build-arg BINARY_DIR=binaries-x86_64-unknown-linux-gnu \
186+
docker buildx build -f Dockerfile.ci --build-arg BINARY_DIR=binaries-x86_64-unknown-linux-gnu \
182187
--platform linux/amd64 -t ghcr.io/0xmassi/webclaw:${tag}-amd64 --push .
183188
184189
# arm64
185-
docker build -f Dockerfile.ci --build-arg BINARY_DIR=binaries-aarch64-unknown-linux-gnu \
190+
docker buildx build -f Dockerfile.ci --build-arg BINARY_DIR=binaries-aarch64-unknown-linux-gnu \
186191
--platform linux/arm64 -t ghcr.io/0xmassi/webclaw:${tag}-arm64 --push .
187192
188-
# Multi-arch manifest
189-
docker manifest create ghcr.io/0xmassi/webclaw:${tag} \
193+
# Multi-arch manifest list, assembled from the already-pushed per-arch tags
194+
docker buildx imagetools create -t ghcr.io/0xmassi/webclaw:${tag} \
190195
ghcr.io/0xmassi/webclaw:${tag}-amd64 \
191196
ghcr.io/0xmassi/webclaw:${tag}-arm64
192-
docker manifest push ghcr.io/0xmassi/webclaw:${tag}
193197
194-
docker manifest create ghcr.io/0xmassi/webclaw:latest \
198+
docker buildx imagetools create -t ghcr.io/0xmassi/webclaw:latest \
195199
ghcr.io/0xmassi/webclaw:${tag}-amd64 \
196200
ghcr.io/0xmassi/webclaw:${tag}-arm64
197-
docker manifest push ghcr.io/0xmassi/webclaw:latest
198201
199202
homebrew:
200203
name: Update Homebrew

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ Format follows [Keep a Changelog](https://keepachangelog.com/).
55

66
## [Unreleased]
77

8+
## [0.6.9] - 2026-06-10
9+
10+
### Fixed
11+
- The multi-arch Docker image (linux/amd64 + linux/arm64) now publishes reliably on each release. The build moved to Buildx so registry pushes no longer fail intermittently, and the Homebrew formula update that depends on it is no longer skipped.
12+
813
## [0.6.8] - 2026-06-10
914

1015
### Fixed

Cargo.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ resolver = "2"
33
members = ["crates/*"]
44

55
[workspace.package]
6-
version = "0.6.8"
6+
version = "0.6.9"
77
edition = "2024"
88
license = "AGPL-3.0"
99
repository = "https://github.com/0xMassi/webclaw"

0 commit comments

Comments
 (0)