Skip to content

feat: added nightly build workflow#1156

Merged
lucaseduoli merged 12 commits into
mainfrom
feat/nightly_build
Mar 16, 2026
Merged

feat: added nightly build workflow#1156
lucaseduoli merged 12 commits into
mainfrom
feat/nightly_build

Conversation

@lucaseduoli

@lucaseduoli lucaseduoli commented Mar 16, 2026

Copy link
Copy Markdown
Collaborator

This pull request introduces a new GitHub Actions workflow to automate nightly Docker image builds and nightly Python package publishing. The workflow schedules multi-architecture builds for backend, frontend, and langflow services, manages Docker image versioning and tagging, and publishes a nightly build of the Python package to PyPI.

CI/CD Automation Enhancements:

  • Added .github/workflows/nightly-build.yml to automate nightly Docker builds for backend, frontend, and langflow services, supporting both amd64 and arm64 architectures, with scheduled and manual triggers.
  • Implemented dynamic versioning for nightly builds using the current date, GitHub run number, and run attempt to ensure uniqueness and traceability of Docker images and Python packages.
  • Configured multi-architecture Docker image manifest creation and tagging, including updating a floating nightly tag for each service.
  • Automated nightly publishing of the Python package to PyPI, appending a .dev suffix to the version for compliance and uniqueness.

@lucaseduoli lucaseduoli requested a review from mpawlow March 16, 2026 15:55
@lucaseduoli lucaseduoli self-assigned this Mar 16, 2026
@github-actions github-actions Bot added ci ⬛ CI/CD, build, and infrastructure issues enhancement 🔵 New feature or request labels Mar 16, 2026
@edwinjosechittilappilly

Copy link
Copy Markdown
Collaborator

do we have a pypi nightly?

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a scheduled GitHub Actions workflow to publish nightly multi-arch Docker images for the project’s main components, maintaining both a unique nightly tag and a rolling nightly tag on Docker Hub.

Changes:

  • Introduces .github/workflows/nightly-build.yml with a scheduled (04:00 UTC) and manual trigger.
  • Computes a date-based nightly tag with an auto-incrementing suffix by querying Docker Hub tags.
  • Builds and pushes multi-platform images (backend, frontend, langflow, opensearch) with GHA cache scopes per component.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread .github/workflows/nightly-build.yml Outdated
Comment thread .github/workflows/nightly-build.yml Outdated
Comment thread .github/workflows/nightly-build.yml Outdated
Comment thread .github/workflows/nightly-build.yml Outdated
@github-actions github-actions Bot added enhancement 🔵 New feature or request and removed enhancement 🔵 New feature or request labels Mar 16, 2026
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
@github-actions github-actions Bot added enhancement 🔵 New feature or request and removed enhancement 🔵 New feature or request labels Mar 16, 2026
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
@github-actions github-actions Bot added enhancement 🔵 New feature or request and removed enhancement 🔵 New feature or request labels Mar 16, 2026
@github-actions github-actions Bot added enhancement 🔵 New feature or request and removed enhancement 🔵 New feature or request labels Mar 16, 2026
@github-actions github-actions Bot added enhancement 🔵 New feature or request and removed enhancement 🔵 New feature or request labels Mar 16, 2026
@lucaseduoli lucaseduoli requested a review from Copilot March 16, 2026 20:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a scheduled GitHub Actions workflow to build/push nightly Docker images for OpenRAG components and publish multi-arch manifests/tags.

Changes:

  • Introduces a nightly workflow triggered on a cron schedule and manual dispatch.
  • Builds per-arch images for backend/frontend/langflow/opensearch and pushes arch-suffixed tags.
  • Creates and pushes multi-arch manifests, also updating a floating nightly tag for each service.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread .github/workflows/nightly-build.yml
Comment thread .github/workflows/nightly-build.yml Outdated
Comment thread .github/workflows/nightly-build.yml Outdated
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
@github-actions github-actions Bot removed the enhancement 🔵 New feature or request label Mar 16, 2026
@github-actions github-actions Bot added the enhancement 🔵 New feature or request label Mar 16, 2026
@github-actions github-actions Bot added enhancement 🔵 New feature or request and removed enhancement 🔵 New feature or request labels Mar 16, 2026
Comment thread .github/workflows/nightly-build.yml Outdated

@edwinjosechittilappilly edwinjosechittilappilly left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe we do not need to publish opensearch images

@github-actions github-actions Bot added enhancement 🔵 New feature or request and removed enhancement 🔵 New feature or request labels Mar 16, 2026

@edwinjosechittilappilly edwinjosechittilappilly left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
prempt for testing

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a scheduled GitHub Actions workflow to produce nightly Docker images (multi-arch) and publish artifacts on a daily cadence.

Changes:

  • Introduces .github/workflows/nightly-build.yml with a daily 04:00 UTC schedule and manual trigger.
  • Builds/pushes arch-specific Docker images via a matrix and then publishes multi-arch manifests with both versioned and floating nightly tags.
  • Publishes a nightly Python package build to PyPI by rewriting the pyproject.toml version to a .dev... suffix.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread .github/workflows/nightly-build.yml Outdated
Comment thread .github/workflows/nightly-build.yml
Comment thread .github/workflows/nightly-build.yml Outdated
Comment thread .github/workflows/nightly-build.yml
Comment thread .github/workflows/nightly-build.yml Outdated
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
@github-actions github-actions Bot added enhancement 🔵 New feature or request and removed enhancement 🔵 New feature or request labels Mar 16, 2026
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
@github-actions github-actions Bot added enhancement 🔵 New feature or request and removed enhancement 🔵 New feature or request labels Mar 16, 2026
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
@github-actions github-actions Bot added enhancement 🔵 New feature or request and removed enhancement 🔵 New feature or request labels Mar 16, 2026
@lucaseduoli lucaseduoli merged commit 91525c0 into main Mar 16, 2026
8 checks passed
@github-actions github-actions Bot deleted the feat/nightly_build branch March 16, 2026 21:17
@github-actions github-actions Bot added enhancement 🔵 New feature or request and removed enhancement 🔵 New feature or request labels Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci ⬛ CI/CD, build, and infrastructure issues enhancement 🔵 New feature or request lgtm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants