[PR #1863] ci: Add Docker build workflow to test all image variants #2635

Closed
opened 2026-01-29 17:23:11 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/CCExtractor/ccextractor/pull/1863

State: closed
Merged: Yes


Summary

  • Adds new GitHub Actions workflow to test Docker builds
  • Tests all three Dockerfile BUILD_TYPE variants in parallel:
    • minimal: Basic CCExtractor without OCR
    • ocr: CCExtractor with Tesseract OCR support (default)
    • hardsubx: CCExtractor with burned-in subtitle extraction (FFmpeg)

Changes

  • New file: .github/workflows/build_docker.yml

How it works

Each job:

  1. Checks out the repository
  2. Sets up Docker Buildx for layer caching
  3. Builds the image using USE_LOCAL_SOURCE=1 (local source, not git clone)
  4. Uses GitHub Actions cache for faster rebuilds on subsequent runs
  5. Runs ccextractor --version to verify the image works

Test plan

  • All three Docker build jobs pass
  • Each image successfully runs --version

🤖 Generated with Claude Code

**Original Pull Request:** https://github.com/CCExtractor/ccextractor/pull/1863 **State:** closed **Merged:** Yes --- ## Summary - Adds new GitHub Actions workflow to test Docker builds - Tests all three Dockerfile BUILD_TYPE variants in parallel: - `minimal`: Basic CCExtractor without OCR - `ocr`: CCExtractor with Tesseract OCR support (default) - `hardsubx`: CCExtractor with burned-in subtitle extraction (FFmpeg) ## Changes - New file: `.github/workflows/build_docker.yml` ## How it works Each job: 1. Checks out the repository 2. Sets up Docker Buildx for layer caching 3. Builds the image using `USE_LOCAL_SOURCE=1` (local source, not git clone) 4. Uses GitHub Actions cache for faster rebuilds on subsequent runs 5. Runs `ccextractor --version` to verify the image works ## Test plan - [ ] All three Docker build jobs pass - [ ] Each image successfully runs `--version` 🤖 Generated with [Claude Code](https://claude.com/claude-code)
claunia added the pull-request label 2026-01-29 17:23:11 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#2635