CI Failure: feat: multi-platform Docker builds (amd64 + arm64 + arm/v7) #12

Closed
opened 2026-02-23 15:49:46 -08:00 by ci · 1 comment

CI Failure Report

Workflow: feat: multi-platform Docker builds (amd64 + arm64 + arm/v7)
Commit: 467c7a73f8
Run: https://git.brads.house/dungeonchurch/5e-tools-mcp/actions/runs/48
Status: failure
Attempts: 2/3

Triage Analysis

Root Cause: Docker buildx plugin not available in the Debian docker.io package.

Evidence:

  • Error: unknown flag: --name
  • Failure in "Create buildx builder" step: docker buildx create --name multiarch --use
  • Debian bookworm docker.io package (20.10.24) includes buildx as CLI plugin, but it was not accessible/enabled
  • Binfmt setup succeeded (tonistiigi/binfmt installed arm64, arm support)
  • Buildx command was not recognized, causing Docker to treat arguments incorrectly

Context:

  • Workflow installs docker.io via apt-get from Debian repositories
  • Multi-platform build requires buildx for cross-platform image building
  • The workflow uses --privileged container mode and QEMU for ARM emulation

Resolution

Status: Fix already committed and in progress

  • Fix commit: fix(ci): install Docker CE + buildx from official repo (e6e036b...)
  • Fix run #3432/3433: Currently testing
  • Resolution: Install Docker CE and buildx from official Docker repository instead of Debian package

Recommended changes:

# Replace:
- name: Install Docker CLI
  run: apt-get update && apt-get install -y --no-install-recommends docker.io

# With:
- name: Install Docker CE + buildx
  run: |
    apt-get update
    apt-get install -y ca-certificates curl
    install -m 0755 -d /etc/apt/keyrings
    curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
    chmod a+r /etc/apt/keyrings/docker.asc
    echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian $(. /etc/os-release && echo "$VERSION_CODENAME") stable" > /etc/apt/sources.list.d/docker.list
    apt-get update
    apt-get install -y docker-ce docker-ce-cli docker-buildx-plugin docker-compose-plugin

Pattern

Added to MEMORY.md: "Docker buildx Plugin Missing in Debian Package"

  • Debian docker.io package may not have buildx plugin properly accessible
  • Use official Docker repository for CE packages with full buildx support
  • Detection: docker buildx commands fail with "unknown flag" errors
## CI Failure Report **Workflow:** feat: multi-platform Docker builds (amd64 + arm64 + arm/v7) **Commit:** 467c7a73f8bd9516033dfae0817803ba480d2c88 **Run:** https://git.brads.house/dungeonchurch/5e-tools-mcp/actions/runs/48 **Status:** failure **Attempts:** 2/3 ## Triage Analysis **Root Cause:** Docker buildx plugin not available in the Debian docker.io package. **Evidence:** - Error: `unknown flag: --name` - Failure in "Create buildx builder" step: `docker buildx create --name multiarch --use` - Debian bookworm docker.io package (20.10.24) includes buildx as CLI plugin, but it was not accessible/enabled - Binfmt setup succeeded (tonistiigi/binfmt installed arm64, arm support) - Buildx command was not recognized, causing Docker to treat arguments incorrectly **Context:** - Workflow installs docker.io via apt-get from Debian repositories - Multi-platform build requires buildx for cross-platform image building - The workflow uses `--privileged` container mode and QEMU for ARM emulation ## Resolution **Status:** Fix already committed and in progress - Fix commit: `fix(ci): install Docker CE + buildx from official repo` (e6e036b...) - Fix run #3432/3433: Currently testing - Resolution: Install Docker CE and buildx from official Docker repository instead of Debian package **Recommended changes:** ```yaml # Replace: - name: Install Docker CLI run: apt-get update && apt-get install -y --no-install-recommends docker.io # With: - name: Install Docker CE + buildx run: | apt-get update apt-get install -y ca-certificates curl install -m 0755 -d /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc chmod a+r /etc/apt/keyrings/docker.asc echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian $(. /etc/os-release && echo "$VERSION_CODENAME") stable" > /etc/apt/sources.list.d/docker.list apt-get update apt-get install -y docker-ce docker-ce-cli docker-buildx-plugin docker-compose-plugin ``` ## Pattern Added to MEMORY.md: "Docker buildx Plugin Missing in Debian Package" - Debian docker.io package may not have buildx plugin properly accessible - Use official Docker repository for CE packages with full buildx support - Detection: `docker buildx` commands fail with "unknown flag" errors
Owner

already on it, thank you for the report

already on it, thank you for the report
brad closed this issue 2026-02-23 15:50:55 -08:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dungeonchurch/5e-tools-mcp#12
No description provided.