mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-02-03 14:14:18 +01:00
36 lines
809 B
YAML
36 lines
809 B
YAML
name: Build Images
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- docker-build-and-push
|
|
pull_request:
|
|
paths:
|
|
- docker-compose.yml
|
|
- services
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
profile:
|
|
# - 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: ${{env.DOCKERHUB_USERNAME}}
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
- run: echo "docker build is ok." ${{ env.DOCKERHUB_USERNAME }} ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
|