Skip to content

fix(release): set up docker-container buildx driver for attestations#317

Merged
icebergai-review-bot[bot] merged 1 commit into
mainfrom
fix/release-buildx-driver
Jul 20, 2026
Merged

fix(release): set up docker-container buildx driver for attestations#317
icebergai-review-bot[bot] merged 1 commit into
mainfrom
fix/release-buildx-driver

Conversation

@richardmhope

Copy link
Copy Markdown
Collaborator

The v0.1.0-beta.1 release build failed:

ERROR: failed to build: Attestation is not supported for the docker driver.

release.yml's build step requests sbom: true + provenance: mode=max, but there was no docker/setup-buildx-action step, so buildx ran on the runner's default docker driver — which can't produce attestations. This adds a SHA-pinned Set up Buildx step (v4.2.0) so buildx uses the docker-container driver.

build.yml needs no equivalent: it publishes dev images with no attestations, so the default driver is fine there.

Releasing after this merges

Because a tag-triggered workflow uses release.yml as it exists at the tagged commit, the existing v0.1.0-beta.1 tag (pointing at the pre-fix commit) can't use the fix. The failed run published nothing (no GitHub Release, no image manifest — it failed during build assembly, before push). After merge I'll move the tag onto the fixed commit and re-push to re-trigger the release.

🤖 Generated with Claude Code

The release build requests `sbom: true` + `provenance: mode=max`, but with no
`docker/setup-buildx-action` step buildx runs on the runner's default `docker`
driver, which rejects attestations — the v0.1.0-beta.1 release build failed with
"ERROR: failed to build: Attestation is not supported for the docker driver."

Add a SHA-pinned Set up Buildx step (v4.2.0) so buildx uses the docker-container
driver that supports SBOM/provenance. build.yml needs no equivalent — it publishes
dev images with no attestations, so the default driver is fine there.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

@icebergai-review-bot icebergai-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IcebergAutoReview

Verdict: approve

The release workflow now initializes Buildx with the default docker-container driver before the attested build. The action is immutable-SHA pinned with the required version comment, and the change is correctly scoped.

Findings

  • No blocking findings.

Validation

  • Inspected the complete main...HEAD diff and surrounding release workflow context.
  • Verified the PR contains one commit changing only .github/workflows/release.yml.
  • Ran git diff --check main...HEAD; passed.

Residual risks / optional notes

  • PR CI does not execute the tag-triggered image publication path, so end-to-end attestation publication remains verifiable only by a release run.

Automated review by Codex d43b44402108 using IcebergAutoReview.

@icebergai-review-bot
icebergai-review-bot Bot merged commit 1240dab into main Jul 20, 2026
11 checks passed
@icebergai-review-bot
icebergai-review-bot Bot deleted the fix/release-buildx-driver branch July 20, 2026 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant