Skip to content

Multi-platform build (linux/amd64 and linux/arm64) - #230

Merged
andrew merged 4 commits into
git-pkgs:mainfrom
kokes:kokes/multi-platform-build
Aug 6, 2026
Merged

Multi-platform build (linux/amd64 and linux/arm64)#230
andrew merged 4 commits into
git-pkgs:mainfrom
kokes:kokes/multi-platform-build

Conversation

@kokes

@kokes kokes commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Noticed that the official image is only amd64, so I added arm64 support (for AWS Graviton, M-series Macs etc.).

Tested:

  • docker build -t foo . and docker build --platform linux/amd64 -t foo2 . and then docker inspect {foo,foo2} | grep -i arch
  • disabled some GHCR bits from the action and tested the Action on my fork - it compiled - haven't checked it can get pushed to ghcr, but wouldn't expect it to fail - https://github.com/kokes/proxy/actions/runs/31098421797/job/92605876313 - it's not as slow as I'd think it'd be
  • saw that there's Sign published container images #227, which might conflict with this a tiny bit (buildx), happy to rebase if you want to merge that one first

@kokes kokes mentioned this pull request Aug 6, 2026

@andrew andrew 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.

Thanks! Verified the action SHAs and confirmed it cross-compiles cleanly (CGO_ENABLED=0 + modernc.org/sqlite means no cgo on either arch).

@andrew
andrew merged commit bc1ea30 into git-pkgs:main Aug 6, 2026
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.

2 participants