fix: prune docker cache earlier in integration tests

This commit is contained in:
Jun Siang Cheah 2024-08-03 20:53:31 +01:00
parent 534c18c94c
commit 2eb662df85

View File

@ -26,6 +26,10 @@ jobs:
--file docker-compose.a1111-test.yaml \
up --detach --build
- name: Delete Docker build cache
run: |
docker builder prune --all --force
- name: Wait for Ollama to be up
timeout-minutes: 5
run: |
@ -35,10 +39,6 @@ jobs:
done
echo "Service is up!"
- name: Delete Docker build cache
run: |
docker builder prune --all --force
- name: Preload Ollama model
run: |
docker exec ollama ollama pull qwen:0.5b-chat-v1.5-q2_K