Skip to content

Conversation

@cfsmp3
Copy link
Contributor

@cfsmp3 cfsmp3 commented Dec 20, 2025

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

Tests all three Dockerfile build types in parallel:
- minimal: Basic CCExtractor without OCR
- ocr: CCExtractor with Tesseract OCR support
- hardsubx: CCExtractor with burned-in subtitle extraction

Each job builds from local source and verifies the image works
by running --version. Uses GitHub Actions cache for faster rebuilds.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@cfsmp3 cfsmp3 merged commit 3d7c534 into master Dec 20, 2025
7 checks passed
@cfsmp3 cfsmp3 deleted the ci/docker-build-workflow branch December 21, 2025 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants