Skip to content

Commit

Permalink
Add multi-platform support in build workflow
Browse files Browse the repository at this point in the history
Included `docker/setup-qemu-action` and specified platforms `linux/amd64` and `linux/arm64` in the build configuration. This ensures the Docker image can be built and pushed for multiple architectures, enhancing compatibility and deployment flexibility.
  • Loading branch information
meanmail committed Sep 18, 2024
1 parent b18c856 commit 84580e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build_base_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@ jobs:
password: ${{ secrets.REGISTRY_PASSWORD }}

- uses: docker/setup-buildx-action@v3
- uses: docker/setup-qemu-action@v3

- name: Build and push server image
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
context: .
pull: true
push: true
Expand Down

0 comments on commit 84580e5

Please sign in to comment.