Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

chore(build): Optimize Docker build configuration and process

begoniezhaoa2902de6ceec
diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml
index 4a96c65db..7ab58a2b5 100644
--- a/.github/workflows/docker-image.yml
+++ b/.github/workflows/docker-image.yml
@@ -67,7 +67,10 @@ jobs:
uses: reproducible-containers/buildkit-cache-dance@v3
with:
cache-source: go-build-cache
- dockerfile: ${{ matrix.file }}
+ cache-map: |
+ {
+ "go-pkg-mod": "/go/pkg/mod"
+ }
skip-extraction: ${{ steps.cache.outputs.cache-hit }}
- name: Build ${{ matrix.service_name }} Image