Skip to content

Commit 47c0ff8

Browse files
authored
feat: add multi-platform builds
1 parent 06c9ea4 commit 47c0ff8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ jobs:
1919
- name: Checkout
2020
uses: actions/checkout@v3
2121

22+
- name: Set up QEMU
23+
uses: docker/setup-qemu-action@v2
24+
25+
- name: Set up Docker Buildx
26+
uses: docker/setup-buildx-action@v2
27+
2228
- name: Login to Docker Hub
2329
uses: docker/login-action@v1
2430
with:
@@ -32,5 +38,6 @@ jobs:
3238
"PYTHON_VERSION=${{ matrix.python-version }}"
3339
"CUDA_VERSION=${{ matrix.cuda-version }}"
3440
context: .
41+
platforms: linux/amd64,linux/arm64
3542
push: true
3643
tags: radixai/python-gpu:${{ matrix.python-version }}-cuda${{ matrix.cuda-version }}

0 commit comments

Comments
 (0)