Skip to content

Feature: publish multi-architecture Docker images #41

Description

@ocanema

Problem

DrogonSec Docker images are currently built as linux/amd64-only artifacts. That makes Docker usage less convenient on arm64 hosts such as Apple Silicon and ARM Linux runners, where users may need emulation or separate local builds.

Proposed solution

Update the Docker build pipeline to publish multi-platform images for linux/amd64 and linux/arm64:

  • Configure QEMU before Docker Buildx in CI and staging workflows.
  • Pass linux/amd64,linux/arm64 to docker/build-push-action.
  • Let the Dockerfile build stage use BuildKit target platform args instead of hard-coded GOOS/GOARCH values.
  • Add Makefile targets/variables for local multi-arch Docker builds and pushes.

Alternatives considered

  • Keep publishing amd64-only images and require arm64 users to build locally.
  • Publish separate architecture-specific tags instead of a single manifest list.
  • Only update the Dockerfile without changing CI, which would not publish multi-arch images automatically.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions