From bf459496fefff0bb6072abf8b6323769b6a74f7e Mon Sep 17 00:00:00 2001 From: Derek Holloway Date: Thu, 16 Apr 2026 18:16:21 -0700 Subject: [PATCH] Fix CD/CI --- .gitea/workflows/build.yaml | 51 ++++++++++++++++++++++++++----------- 1 file changed, 36 insertions(+), 15 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 12f4ccb..77ec378 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -11,52 +11,73 @@ jobs: build-cuda: runs-on: alpine-linux steps: - - uses: actions/checkout@v4 + - 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: Build and push ComfyUI CUDA + + - name: build and push comfyui run: | - docker buildx build --platform linux/arm64 \ - -t mistox/comfyui-cuda-ampere:latest \ - -f comfyui-cuda-dockerfile --push . + docker buildx build \ + --platform=linux/arm64 \ + -t mistox/comfyui-cuda-ampere:latest \ + -f comfyui-cuda-dockerfile \ + --push \ + . # Build ComfyUI-Rocm build-rocm: runs-on: alpine-linux steps: - - uses: actions/checkout@v4 + - 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: Build and push ComfyUI ROCm + + - name: build and push comfyui run: | - docker buildx build --platform linux/arm64 \ - -t mistox/comfyui-rocm-ampere:latest \ - -f comfyui-rocm-dockerfile --push . + docker buildx build \ + --platform=linux/arm64 \ + -t mistox/comfyui-rocm-ampere:latest \ + -f comfyui-rocm-dockerfile \ + --push \ + . # Job 3: Uvicorn Build build-uvicorn: runs-on: alpine-linux steps: - - uses: actions/checkout@v4 + - 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: Build and push Uvicorn + + - name: build and push comfyui run: | - docker buildx build --platform linux/arm64 \ - -t mistox/uvicorn-ampere:latest \ - -f uvicorn-dockerfile --push . \ No newline at end of file + docker buildx build \ + --platform=linux/arm64 \ + -t mistox/uvicorn-ampere:latest \ + -f uvicorn-dockerfile \ + --push \ + . \ No newline at end of file