Enable multi-arch Docker image publishing (amd64/arm64) in CI#87
Open
Copilot wants to merge 2 commits into
Open
Enable multi-arch Docker image publishing (amd64/arm64) in CI#87Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
Copilot
AI
changed the title
[WIP] Add multi-platform support for Docker images
Enable multi-arch Docker image publishing (amd64/arm64) in CI
Jun 10, 2026
jyxjjj
approved these changes
Jun 10, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the CI Docker image publishing pipeline to build and push manifest-based multi-architecture images (linux/amd64 + linux/arm64) so deployments work correctly on both x86_64 and ARM hosts.
Changes:
- Added QEMU + Buildx setup in the Docker image workflow to support multi-platform builds.
- Switched builds to
docker/build-push-action@v6and pushed multi-arch images directly to Docker Hub and GHCR for bothlatestandalpinevariants. - Updated README to explicitly document supported image platforms.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| README.md | Documents that the published container images support linux/amd64 and linux/arm64. |
| .github/workflows/docker-image.yml | Builds and publishes multi-arch images to Docker Hub and GHCR using Buildx/QEMU and build-push-action@v6. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| - name: Set up Docker Buildx | ||
| uses: docker/setup-buildx-action@v3 | ||
|
|
||
| - name: Build and push Docker Image |
| openlistteam/openlist_api_server:latest | ||
| ghcr.io/openlistteam/openlist_api_server:latest | ||
|
|
||
| - name: Build and push Docker Image |
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.
Current Docker images were effectively single-arch, causing deployment failures on ARM hosts. This PR updates the image pipeline to publish manifest-based multi-platform images for both main variants.
CI workflow: multi-platform build/publish
.github/workflows/docker-image.yml.docker/build-push-action@v6with:platforms: linux/amd64,linux/arm64docker push/tag/pushsteps (single-arch flow).Image variants covered
openlistteam/openlist_api_server:latest(+ GHCR equivalent)openlistteam/openlist_api_server:alpine(+ GHCR equivalent)Docs update
linux/amd64,linux/arm64.