50 lines
1.3 KiB
YAML
50 lines
1.3 KiB
YAML
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 rocm-aarch64-base
|
|
run: |
|
|
docker buildx build \
|
|
--platform=linux/arm64 \
|
|
-t docker.mistox.net/rocm-aarch64-base:latest \
|
|
-f rocm-base-aarch64-dockerfile \
|
|
--push \
|
|
.
|
|
|
|
- name: build and push comfyui-cuda
|
|
run: |
|
|
docker buildx build \
|
|
--platform=linux/arm64 \
|
|
-t docker.mistox.net/comfyui-cuda-ampere:latest \
|
|
-t mistox/rocm-aarch64-base:latest \
|
|
-f comfyui-rocm-dockerfile \
|
|
--push \
|
|
. |