This commit is contained in:
daozhao chen 2023-04-27 07:03:29 +00:00
parent b167a1f498
commit 5805dde468

View file

@ -14,20 +14,22 @@ jobs:
build: build:
strategy: strategy:
matrix: matrix:
profile: [auto , sygil , invoke ,comfy , download] profile:
# dockerTag: [sd-auto:51,sd-sygil:16, sd-invoke:27, sd-comfy:1 , sd-download:51] # - auto
# dockerHubTag: [sd-auto , sd-sygil , sd-invoke ,sd-comfy , sd-download] # - sygil
# - invoke
# runs-on: ubuntu-latest # - comfy
# name: ${{ matrix.profile }} - download
# steps: runs-on: ubuntu-latest
# # - uses: actions/checkout@v3 name: ${{ matrix.profile }}
# # - run: docker compose --profile ${{ matrix.profile }} build --progress plain steps:
# - name: Login to Docker Hub # - uses: actions/checkout@v3
# uses: docker/login-action@v2 # - run: docker compose --profile ${{ matrix.profile }} build --progress plain
# with: - name: Login to Docker Hub
# username: ${{secrets.DOCKERHUB_USERNAME}} uses: docker/login-action@v2
# password: ${{ secrets.DOCKERHUB_TOKEN }} with:
- run: echo "docker build is ok." ${{matrix.profile}} ${{matrix.dockerTag}} ${{matrix.dockerHubTag}} username: ${{secrets.DOCKERHUB_USERNAME}}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- run: echo "docker build is ok." ${{ env.DOCKERHUB_USERNAME }} ${{ secrets.DOCKERHUB_TOKEN }}