From 7b05364824610f18d34b7ab95865cf0a19041972 Mon Sep 17 00:00:00 2001 From: Derek Holloway Date: Sun, 17 May 2026 20:33:54 -0700 Subject: [PATCH] Fixup CD/CI --- .gitea/workflows/build-comfyui-cuda.yaml | 41 +++++++++++++++++++ .../{build.yaml => build-comfyui-rocm.yaml} | 21 +--------- .gitea/workflows/build-uvicorn.yaml | 41 +++++++++++++++++++ 3 files changed, 83 insertions(+), 20 deletions(-) create mode 100644 .gitea/workflows/build-comfyui-cuda.yaml rename .gitea/workflows/{build.yaml => build-comfyui-rocm.yaml} (70%) create mode 100644 .gitea/workflows/build-uvicorn.yaml diff --git a/.gitea/workflows/build-comfyui-cuda.yaml b/.gitea/workflows/build-comfyui-cuda.yaml new file mode 100644 index 0000000..d5b2a1e --- /dev/null +++ b/.gitea/workflows/build-comfyui-cuda.yaml @@ -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 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-cuda-dockerfile \ + --push \ + . \ No newline at end of file diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build-comfyui-rocm.yaml similarity index 70% rename from .gitea/workflows/build.yaml rename to .gitea/workflows/build-comfyui-rocm.yaml index d83e540..841ed4f 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build-comfyui-rocm.yaml @@ -39,31 +39,12 @@ jobs: --push \ . - - name: build and push comfyui-rocm - run: | - docker buildx build \ - --platform=linux/arm64 \ - -t docker.mistox.net/comfyui-rocm-ampere:latest \ - -f comfyui-rocm-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-cuda-dockerfile \ - --push \ - . - - - 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 \ + -f comfyui-rocm-dockerfile \ --push \ . \ No newline at end of file diff --git a/.gitea/workflows/build-uvicorn.yaml b/.gitea/workflows/build-uvicorn.yaml new file mode 100644 index 0000000..f27a3d5 --- /dev/null +++ b/.gitea/workflows/build-uvicorn.yaml @@ -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 \ + . \ No newline at end of file