Spaces:
Runtime error
Runtime error
Download diffusers/.github/workflows/build_docker_images.yml from Androidonnxfork/CivitAi-to-Diffusers: direct link, hf CLI and curl.
- Browser
- Download file 1.13 kB
-
https://huggingface.co/spaces/Androidonnxfork/CivitAi-to-Diffusers/resolve/main/diffusers/.github/workflows/build_docker_images.yml
- Command line
-
hf download hf://spaces/Androidonnxfork/CivitAi-to-Diffusers/diffusers/.github/workflows/build_docker_images.yml
-
curl -L -o build_docker_images.yml https://huggingface.co/spaces/Androidonnxfork/CivitAi-to-Diffusers/resolve/main/diffusers/.github/workflows/build_docker_images.yml
1.13 kB
| name: Build Docker images (nightly) | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "0 0 * * *" # every day at midnight | |
| concurrency: | |
| group: docker-image-builds | |
| cancel-in-progress: false | |
| env: | |
| REGISTRY: diffusers | |
| jobs: | |
| build-docker-images: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| image-name: | |
| - diffusers-pytorch-cpu | |
| - diffusers-pytorch-cuda | |
| - diffusers-flax-cpu | |
| - diffusers-flax-tpu | |
| - diffusers-onnxruntime-cpu | |
| - diffusers-onnxruntime-cuda | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Login to Docker Hub | |
| uses: docker/login-action@v2 | |
| with: | |
| username: ${{ env.REGISTRY }} | |
| password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| - name: Build and push | |
| uses: docker/build-push-action@v3 | |
| with: | |
| no-cache: true | |
| context: ./docker/${{ matrix.image-name }} | |
| push: true | |
| tags: ${{ env.REGISTRY }}/${{ matrix.image-name }}:latest | |