mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-02-03 06:04:24 +01:00
test matrix
This commit is contained in:
parent
cf800f3f42
commit
a3a813b208
29
.github/workflows/docker.yml
vendored
29
.github/workflows/docker.yml
vendored
|
|
@ -14,22 +14,25 @@ jobs:
|
|||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
profile:
|
||||
profile: [auto , sygil , invoke ,comfy , download]
|
||||
dockerTag: [sd-auto:51,sd-sygil:16, sd-invoke:27, sd-comfy:1 , sd-download:51]
|
||||
dockerHubTag: [sd-auto , sd-sygil , sd-invoke ,sd-comfy , sd-download]
|
||||
# - auto
|
||||
# - sygil
|
||||
# - invoke
|
||||
# - comfy
|
||||
- download
|
||||
runs-on: ubuntu-latest
|
||||
name: ${{ matrix.profile }}
|
||||
steps:
|
||||
# - uses: actions/checkout@v3
|
||||
# - run: docker compose --profile ${{ matrix.profile }} build --progress plain
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{secrets.DOCKERHUB_USERNAME}}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- run: echo "docker build is ok."
|
||||
# - download
|
||||
|
||||
# runs-on: ubuntu-latest
|
||||
# name: ${{ matrix.profile }}
|
||||
# steps:
|
||||
# # - uses: actions/checkout@v3
|
||||
# # - run: docker compose --profile ${{ matrix.profile }} build --progress plain
|
||||
# - name: Login to Docker Hub
|
||||
# uses: docker/login-action@v2
|
||||
# with:
|
||||
# username: ${{secrets.DOCKERHUB_USERNAME}}
|
||||
# password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- run: echo "docker build is ok." ${{matrix.profile}} ${{matrix.dockerTag}} ${{matrix.dockerHubTag}}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ services:
|
|||
download:
|
||||
build: ./services/download/
|
||||
profiles: ["download"]
|
||||
image: sd-download:51
|
||||
volumes:
|
||||
- *v1
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue