feat! Improve chunk generation speed, watermark rendering, and visual… #26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| validate: | |
| name: Validate config | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Validate docker-compose | |
| run: | | |
| cp .env.example .env.ci | |
| docker compose --env-file .env.ci config --quiet | |
| - name: Check .env.example exists | |
| run: test -f .env.example | |
| build: | |
| name: Build Docker images | |
| runs-on: ubuntu-latest | |
| needs: validate | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Build streamer image | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: . | |
| push: false | |
| tags: random-video-streamer:test | |
| cache-from: type=gha | |
| cache-to: type=gha,mode=max | |
| - name: Build chunk-generator image | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: . | |
| file: Dockerfile.generator | |
| push: false | |
| tags: chunk-generator:test | |
| cache-from: type=gha | |
| cache-to: type=gha,mode=max |