This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
name: Docker Build and Release Upload
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- torchaudio-builder
|
||||
|
||||
jobs:
|
||||
|
||||
# Build ComfyUI-Rocm
|
||||
build-rocm:
|
||||
runs-on: alpine-linux
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Log in to DockerHub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Log in to docker.mistox.net
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: docker.mistox.net
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: build and push uvicorn
|
||||
run: |
|
||||
docker buildx build \
|
||||
--platform=linux/arm64 \
|
||||
-t docker.mistox.net/uvicorn-ampere:latest \
|
||||
-t mistox/rocm-aarch64-base:latest \
|
||||
-f uvicorn-dockerfile \
|
||||
--push \
|
||||
.
|
||||
Reference in New Issue
Block a user