Skip to content

Commit

Permalink
feat: add multi-platform builds
Browse files Browse the repository at this point in the history
  • Loading branch information
lsorber authored Sep 12, 2023
1 parent 06c9ea4 commit 47c0ff8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Login to Docker Hub
uses: docker/login-action@v1
with:
Expand All @@ -32,5 +38,6 @@ jobs:
"PYTHON_VERSION=${{ matrix.python-version }}"
"CUDA_VERSION=${{ matrix.cuda-version }}"
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: radixai/python-gpu:${{ matrix.python-version }}-cuda${{ matrix.cuda-version }}

0 comments on commit 47c0ff8

Please sign in to comment.