OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.
Python
changed nightly build to push correct version to dockerhub
Lucas Oliveiraa772f3e38c73
diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.ymlindex 9f7cd7409..1925a4282 100644--- a/.github/workflows/nightly-build.yml+++ b/.github/workflows/nightly-build.yml@@ -13,7 +13,8 @@ jobs:permissions:contents: writeoutputs:- nightly_version: ${{ steps.ensure_unique_tag.outputs.nightly_tag }}+ nightly_tag: ${{ steps.ensure_unique_tag.outputs.nightly_tag }}+ nightly_version: ${{ steps.ensure_unique_tag.outputs.nightly_version }}steps:- name: Checkout codeuses: actions/checkout@v4@@ -70,11 +71,13 @@ jobs:fifiecho "Resolved nightly tag: $TAG"+ CLEAN_VERSION=$(echo "$TAG" | sed 's/^v//')echo "nightly_tag=$TAG" >> "$GITHUB_OUTPUT"+ echo "nightly_version=$CLEAN_VERSION" >> "$GITHUB_OUTPUT"- name: Update pyproject.tomlrun: |- python3 scripts/ci/update_pyproject_combined.py main ${{ steps.ensure_unique_tag.outputs.nightly_tag }}+ python3 scripts/ci/update_pyproject_combined.py main ${{ steps.ensure_unique_tag.outputs.nightly_version }}- name: Commit and push tagrun: |@@ -82,7 +85,7 @@ jobs:git config --global user.name "OpenRAG Bot"git add pyproject.toml- git commit -m "Update version and project name for nightly ${{ steps.ensure_unique_tag.outputs.nightly_tag }}"+ git commit -m "Update version and project name for nightly ${{ steps.ensure_unique_tag.outputs.nightly_version }}"git tag ${{ steps.ensure_unique_tag.outputs.nightly_tag }}git push origin ${{ steps.ensure_unique_tag.outputs.nightly_tag }}@@ -141,7 +144,7 @@ jobs:- name: Checkout nightly taguses: actions/checkout@v4with:- ref: ${{ needs.create-nightly-tag.outputs.nightly_version }}+ ref: ${{ needs.create-nightly-tag.outputs.nightly_tag }}fetch-depth: 0- name: Set up Docker Buildx@@ -237,8 +240,8 @@ jobs:# In the create-nightly-tag job we pushed a tag, here we should probably checkout that tag# or just use the updated pyproject.toml if it's shared (it's not).# So we need to checkout the tag.- git fetch origin "refs/tags/${{ needs.create-nightly-tag.outputs.nightly_version }}:refs/tags/${{ needs.create-nightly-tag.outputs.nightly_version }}"- git checkout ${{ needs.create-nightly-tag.outputs.nightly_version }}+ git fetch origin "refs/tags/${{ needs.create-nightly-tag.outputs.nightly_tag }}:refs/tags/${{ needs.create-nightly-tag.outputs.nightly_tag }}"+ git checkout ${{ needs.create-nightly-tag.outputs.nightly_tag }}- name: Build wheel and source distributionrun: |