Skip to content

add macOS archives and a single multi-arch image tag - #75

Merged
jkandasa merged 1 commit into
mycontroller-org:mainfrom
jkandasa:add-macos-builds
Sep 18, 2026
Merged

jkandasa merged 1 commit into
mycontroller-org:mainfrom
jkandasa:add-macos-builds

Conversation

@jkandasa

Copy link
Copy Markdown
Member

Summary

  • Release archives for macOS Intel (darwin/amd64) and Apple Silicon (darwin/arm64).
  • Darwin cannot use tarm/serial with CGO_ENABLED=0. Linux/Windows still use tarm; Darwin uses go.bug.st/serial (8N1, flush = reset in/out buffers).
  • Container publish is one buildx --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 --tag :VERSION --push. No :VERSION-linux-amd64 (etc.) tags.
  • Dockerfile TARGETOS / TARGETARCH / TARGETVARIANT have no defaults, so BuildKit copies the matching host binary.

Test plan

  • Next main release includes mycontroller-*-darwin-amd64.tar.gz and *-darwin-arm64.tar.gz.
  • docker pull ghcr.io/mycontroller-org/server:2.3.0-devel is multi-arch; no new -linux-* tags.
  • Linux serial gateway still opens a port as before.

Cross-compile darwin/amd64 and darwin/arm64. Darwin serial uses
go.bug.st/serial so CGO is not required; linux and windows still
use tarm/serial. Container publish is one buildx push per image
so only :VERSION exists. Dockerfile platform ARGs have no defaults
so BuildKit selects linux-amd64, linux-arm64, linux-armv7, linux-armv6.
@jkandasa
jkandasa merged commit a2374de into mycontroller-org:main Sep 18, 2026
1 check passed
@jkandasa
jkandasa deleted the add-macos-builds branch September 18, 2026 07:09
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