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

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

📋 Pull Request Information

Original PR: https://github.com/CCExtractor/ccextractor/pull/1863
Author: @cfsmp3
Created: 12/20/2025
Status: Merged
Merged: 12/20/2025
Merged by: @cfsmp3

Base: masterHead: ci/docker-build-workflow


📝 Commits (1)

  • 0ac093e ci: Add Docker build workflow to test all image variants

📊 Changes

1 file changed (+92 additions, -0 deletions)

View changed files

.github/workflows/build_docker.yml (+92 -0)

📄 Description

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


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/CCExtractor/ccextractor/pull/1863 **Author:** [@cfsmp3](https://github.com/cfsmp3) **Created:** 12/20/2025 **Status:** ✅ Merged **Merged:** 12/20/2025 **Merged by:** [@cfsmp3](https://github.com/cfsmp3) **Base:** `master` ← **Head:** `ci/docker-build-workflow` --- ### 📝 Commits (1) - [`0ac093e`](https://github.com/CCExtractor/ccextractor/commit/0ac093e4b2cfcde1c30b783873ee815851f072ec) ci: Add Docker build workflow to test all image variants ### 📊 Changes **1 file changed** (+92 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/build_docker.yml` (+92 -0) </details> ### 📄 Description ## 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) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#2632