Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.
Go agentagenticaichatbotdsh-pluginembeddingsevaluationgenerative-aigolangknowledge-basellmmulti-tenantollamaopenaiquestion-answeringragrerankingsemantic-searchvector-searchwiki
chore: Added VERSION file to optimize docker image build configuration
begoniezhao7efa173812e9
diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.ymlindex d1edffe80..d7c121d11 100644--- a/.github/workflows/docker-image.yml+++ b/.github/workflows/docker-image.yml@@ -42,6 +42,9 @@ jobs:username: ${{ secrets.DOCKERHUB_USERNAME }}password: ${{ secrets.DOCKERHUB_PASSWORD }}+ - name: Read VERSION file+ run: echo "VERSION=$(cat VERSION)" >> $GITHUB_ENV+- name: Build ${{ matrix.service_name }} Imageuses: docker/build-push-action@v3with:@@ -49,4 +52,8 @@ jobs:platforms: ${{ matrix.platform }}file: ${{ matrix.file }}context: ${{ matrix.context }}- tags: ${{ secrets.DOCKERHUB_USERNAME }}/weknora-${{ matrix.service_name }}:latest+ tags: |+ ${{ secrets.DOCKERHUB_USERNAME }}/weknora-${{ matrix.service_name }}:latest+ ${{ secrets.DOCKERHUB_USERNAME }}/weknora-${{ matrix.service_name }}:${{ env.VERSION }}+ cache-from: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/weknora-${{ matrix.service_name }}:cache+ cache-to: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/weknora-${{ matrix.service_name }}:cache,mode=max\ No newline at end of filediff --git a/VERSION b/VERSIONnew file mode 100644index 000000000..6c6aa7cb0--- /dev/null+++ b/VERSION@@ -0,0 +1 @@+0.1.0\ No newline at end of file