Skip to content

[WIP] Fix GitHub workflow for multi-platform image build#359

Merged
ShaneIsrael merged 2 commits intoShaneIsrael-patch-2from
copilot/fix-multi-platform-image-build
Dec 5, 2025
Merged

[WIP] Fix GitHub workflow for multi-platform image build#359
ShaneIsrael merged 2 commits intoShaneIsrael-patch-2from
copilot/fix-multi-platform-image-build

Conversation

Copy link
Contributor

Copilot AI commented Dec 5, 2025

  • Understand current workflow setup for docker-publish-main.yml
  • Create a new workflow that distributes the multi-platform build across separate runners
    • Build job with matrix strategy: AMD64 and ARM64 run in parallel on separate runners
    • Each build pushes image by digest and uploads artifact
    • Merge job downloads digests and creates multi-platform manifest
  • Update action versions to latest (checkout@v4, setup-qemu@v3, setup-buildx@v3, login-action@v3, metadata-action@v5, build-push-action@v5, upload/download-artifact@v4)
  • Remove the redundant docker-publish-main-arm.yaml workflow
  • Verify docker-publish-develop.yml was NOT modified (as per requirements)
  • Request code review
Original prompt

Can you fix my github workflow to build a multi platform image for amd64 and arm64 to distribute the build across multiple github runners. Right now, trying to build both in a single runner maxes out the space and is extremely slow. (but do not touch the develop workflow).


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

- Split build into matrix strategy with separate jobs for amd64 and arm64
- Each platform builds in parallel on its own runner to avoid space issues
- Add merge job to combine platform digests into multi-platform manifest
- Update all GitHub Actions to latest versions (v3/v4/v5)
- Remove redundant docker-publish-main-arm.yaml workflow
- Do not modify docker-publish-develop.yml as requested

Co-authored-by: ShaneIsrael <1677199+ShaneIsrael@users.noreply.github.com>
@ShaneIsrael ShaneIsrael marked this pull request as ready for review December 5, 2025 00:53
@ShaneIsrael ShaneIsrael merged commit b21f892 into ShaneIsrael-patch-2 Dec 5, 2025
Copilot AI requested a review from ShaneIsrael December 5, 2025 00:54
@ShaneIsrael ShaneIsrael deleted the copilot/fix-multi-platform-image-build branch January 2, 2026 06:03
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