Skip to content

Commit

Permalink
add arm support (#166)
Browse files Browse the repository at this point in the history
* add arm support
* use minimal uvicorn install on arm
  • Loading branch information
manbearwiz authored Oct 18, 2023
1 parent 4f6627e commit 7b0e2df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=raw,value=latest,enable={{is_default_branch}}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
Expand All @@ -40,6 +42,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ aiofiles==23.2.1
Jinja2==3.1.2
python-multipart==0.0.6
starlette==0.31.1
uvicorn[standard]==0.23.2
uvicorn[standard]==0.23.2; platform_machine == 'x86_64'
uvicorn==0.23.2; platform_machine != 'x86_64'
yt-dlp==2023.10.13

0 comments on commit 7b0e2df

Please sign in to comment.