Repository navigation
Conversation
Buildx only targeted the runner's default platform, so the published standalone image was linux/amd64-only and would run under emulation (or not at all) on Apple Silicon, AWS Graviton, and other ARM hosts. Set `platforms` on the build step so tags and manual runs publish a multi-arch manifest. PRs keep building amd64 only to avoid the QEMU emulation cost; QEMU is set up just for non-PR runs. No Dockerfile change needed: `oven/bun:1.3-alpine` is already multi-arch and `bun.lock` pins arm64-musl bindings for every build-time native tool (rollup, tailwind oxide, oxc, biome). Verified locally: `docker buildx build --platform linux/arm64 --load` succeeds and the resulting arm64/linux image serves /healthcheck, the dashboard, and /api/queues.
|
@Alzomra is attempting to deploy a commit to the Pontus Abrahamsson's projects Team on Vercel. A member of the Team first needs to authorize it. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Buildx only targeted the runner's default platform, so the published standalone image was linux/amd64-only and would run under emulation (or not at all) on Apple Silicon, AWS Graviton, and other ARM hosts.
Set
platformson the build step so tags and manual runs publish a multi-arch manifest. PRs keep building amd64 only to avoid the QEMU emulation cost; QEMU is set up just for non-PR runs.No Dockerfile change needed:
oven/bun:1.3-alpineis already multi-arch andbun.lockpins arm64-musl bindings for every build-time native tool (rollup, tailwind oxide, oxc, biome).Verified locally:
docker buildx build --platform linux/arm64 --loadsucceeds and the resulting arm64/linux image serves /healthcheck, the dashboard, and /api/queues.What
Publishes the standalone Docker image as a multi-arch manifest for
linux/amd64andlinux/arm64..github/workflows/standalone-image.yml: added adocker/setup-qemu-action@v3step (skipped on PRs) and setplatformson thedocker/build-push-action@v6step tags and manual runs buildlinux/amd64,linux/arm64, PRs keep building amd64 only.CHANGELOG.md: added anUnreleased → Addedentry.README.md,apps/standalone/README.md,apps/web/content/docs/deployment/standalone-docker.mdx: document the supported architectures and add a localbuildx --platform linux/arm64example.apps/standalone/Dockerfileis intentionally unchanged , see Why.Why
Buildx only targeted the runner's default platform, so the published standalone image was
linux/amd64-only and would run under emulation (or not at all) on Apple Silicon, AWS Graviton, and other ARM hosts.Set
platformson the build step so tags and manual runs publish a multi-arch manifest. PRs keep building amd64 only to avoid the QEMU emulation cost; QEMU is set up just for non-PR runs.No Dockerfile change needed:
oven/bun:1.3-alpineis already multi-arch andbun.lockpins arm64-musl bindings for every build-time native tool (rollup, tailwind oxide, oxc, biome).Verified locally:
docker buildx build --platform linux/arm64 --loadsucceeds and the resultingarm64/linuximage serves/healthcheck, the dashboard (/), and/api/queues(all 200). Thelinux/amd64leg also builds and serves/healthcheck+ dashboard under emulation.Checklist
bun run typecheck)bun run lint)bun run build)CHANGELOG.mdupdated if this affects users