Skip to content

Commit c951ecc

Browse files
author
Zvi Fried
committed
main - fix: Add multi-platform Docker support for ARM64 and AMD64
- Add platforms: linux/amd64,linux/arm64 to Docker build - Update to docker/build-push-action@v6 for better multi-platform support - Add VERSION build arg to pass version to Docker image - Fixes Docker image compatibility with Apple Silicon Macs and ARM64 systems - Ensures Docker image works on Windows, macOS, and Linux across all architectures
1 parent 6330a65 commit c951ecc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,15 @@ jobs:
9393
uses: docker/setup-buildx-action@v3
9494

9595
- name: Build and push Docker image
96-
uses: docker/build-push-action@v5
96+
uses: docker/build-push-action@v6
9797
with:
9898
context: .
99+
platforms: linux/amd64,linux/arm64
99100
push: true
100101
tags: ${{ steps.meta.outputs.tags }}
101102
labels: ${{ steps.meta.outputs.labels }}
103+
build-args: |
104+
VERSION=${{ steps.version.outputs.VERSION }}
102105
build-args: |
103106
VERSION=${{ steps.version.outputs.VERSION }}
104107
cache-from: type=gha

0 commit comments

Comments
 (0)