Fix CD/CI
This commit is contained in:
+33
-12
@@ -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 \
|
||||
docker buildx build \
|
||||
--platform=linux/arm64 \
|
||||
-t mistox/comfyui-cuda-ampere:latest \
|
||||
-f comfyui-cuda-dockerfile --push .
|
||||
-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 \
|
||||
docker buildx build \
|
||||
--platform=linux/arm64 \
|
||||
-t mistox/comfyui-rocm-ampere:latest \
|
||||
-f comfyui-rocm-dockerfile --push .
|
||||
-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 \
|
||||
docker buildx build \
|
||||
--platform=linux/arm64 \
|
||||
-t mistox/uvicorn-ampere:latest \
|
||||
-f uvicorn-dockerfile --push .
|
||||
-f uvicorn-dockerfile \
|
||||
--push \
|
||||
.
|
||||
Reference in New Issue
Block a user