Skip to content

Refactor CI/CD Workflow: Add Docker Multi-Arch Build & Modernize Build/Test Steps #195

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

mryash-dev
Copy link

@mryash-dev mryash-dev commented Jun 11, 2025

This PR refactors the existing GitHub Actions workflow to improve CI/CD automation and add Docker multi-architecture image builds. Key changes include:

✅ Improvements:

  • Modular Jobs: Split into build-js, build-js-windows, test, and build-docker jobs for better clarity and separation of concerns.
  • Multi-Python Matrix: Runs Django tests on Python versions 3.8 – 3.11 using matrix strategy.
  • Docker Metadata: Uses docker/metadata-action for consistent and semantically versioned image tags.
  • Artifact Handling: Uses GitHub Actions artifact upload/download to share built JavaScript assets between jobs.
  • Modern Actions: Migrated to latest action versions (checkout@v4, setup-node@v4, setup-python@v5, etc.)
  • Linting + Testing: ESLint, unit tests, flake8, and Django test suite are integrated.
  • Docker Build & Push: Adds Docker buildx support (multi-arch ready), and pushes images to Docker Hub.

@yasithdev @lahirujayathilake @smarru I'd love to hear any ideas you guys have!

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