File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 docker-cache :
1919 name : Cache shared Docker images
2020 runs-on : ubuntu-latest
21- env :
22- DOCKER_CACHE_KEY : docker-images-${{ env.IMG2VEC }}-${{ env.MINIO }}-${{ env.MODEL2VEC }}
2321 steps :
2422 - name : Login to Docker Hub
2523 if : ${{ !github.event.pull_request.head.repo.fork }}
2927 password : ${{ secrets.DOCKER_PASSWORD }}
3028 - id : cache-check
3129 uses : actions/cache/restore@v4
30+ env :
31+ DOCKER_CACHE_KEY : docker-images-${{ env.IMG2VEC }}-${{ env.MINIO }}-${{ env.MODEL2VEC }}
3232 with :
3333 path : ${{ env.DOCKER_IMAGES_TAR }}
3434 key : ${{ env.DOCKER_CACHE_KEY }}
4343 - name : Cache images
4444 if : steps.cache-check.outputs.cache-hit != 'true'
4545 uses : actions/cache/save@v4
46+ env :
47+ DOCKER_CACHE_KEY : docker-images-${{ env.IMG2VEC }}-${{ env.MINIO }}-${{ env.MODEL2VEC }}
4648 with :
4749 path : ${{ env.DOCKER_IMAGES_TAR }}
4850 key : ${{ env.DOCKER_CACHE_KEY }}
@@ -63,15 +65,15 @@ jobs:
6365 name : Test
6466 runs-on : ubuntu-latest
6567 needs : [ docker-cache, maven-cache]
66- env :
67- DOCKER_CACHE_KEY : docker-images-${{ env.IMG2VEC }}-${{ env.MINIO }}-${{ env.MODEL2VEC }}
6868 strategy :
6969 matrix :
7070 WEAVIATE_VERSION : ["1.32.0", "1.33.0"]
7171 steps :
7272 - uses : actions/checkout@v4
7373
7474 - uses : actions/cache/restore@v4
75+ env :
76+ DOCKER_CACHE_KEY : docker-images-${{ env.IMG2VEC }}-${{ env.MINIO }}-${{ env.MODEL2VEC }}
7577 with :
7678 path : ${{ env.DOCKER_IMAGES_TAR }}
7779 key : ${{ env.DOCKER_CACHE_KEY }}
You can’t perform that action at this time.
0 commit comments