Skip to content

[ Release ] : v0.1.0#8

Merged
maulik-mk merged 7 commits intomainfrom
release/v0.1.0
Feb 17, 2026
Merged

[ Release ] : v0.1.0#8
maulik-mk merged 7 commits intomainfrom
release/v0.1.0

Conversation

@maulik-mk
Copy link
Owner

Release : v0.1.0

This pull request introduces a complete CI/CD pipeline and Docker-based build/test system for an FFmpeg worker, focusing on reproducible builds, minimal image footprint, and robust automated testing. The main changes include a new GitHub Actions workflow for continuous integration, a multi-stage Dockerfile for optimized FFmpeg builds, a comprehensive shell script for testing the image and its capabilities, and a new package.json for project metadata.

CI/CD Pipeline and Build System

  • Added .github/workflows/ci.yml to automate building, testing, and pushing Docker images to GitHub Container Registry, including test asset download and concurrency management.
  • Introduced a multi-stage Dockerfile that builds FFmpeg from source with only H.264 and AAC support, strips unnecessary features for a minimal, secure runtime, and runs as a non-root user.

Testing and Validation

  • Added test/ffmpeg.test.sh, a strict-mode shell script that builds the Docker image, verifies FFmpeg/FFprobe versions and codecs, runs transcoding and HLS adaptive bitrate tests, and reports image statistics.

Project Metadata

  • Added package.json to define project metadata, keywords, repository info, and licensing for the FFmpeg worker.

@maulik-mk
Copy link
Owner Author

maulik-mk commented Feb 17, 2026

PR #8 commit https://github.com/maulik-mk/mp.ii-worker/pull/8/changes/2aff64ff22a5c654508b9c3c1fd80af53a785b69

Optimizes the CI workflow by introducing Docker Layer Caching and refining the test script logic to significantly speed up build times.

Key Changes:

  • CI Optimization: Integrated docker-buildx with GitHub Actions caching (type=gha). This allows the workflow to reuse compiled FFmpeg layers from previous runs, avoiding costly rebuilds.

  • Smart Testing: Updated test/ffmpeg.test.sh to respect a SKIP_BUILD environment variable. The CI workflow now builds the image once (with caching) and skips the redundant build step during testing.

commit massage ci(test): Cache Docker image builds with Buildx in CI and allow the test script to skip redundant builds.

@maulik-mk maulik-mk merged commit 3b8d10d into main Feb 17, 2026
1 check passed
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.

1 participant