diff --git a/.github/workflows/pr-microservice-test.yml b/.github/workflows/pr-microservice-test.yml index a9a6cb26c6..8dd5e6e6ca 100644 --- a/.github/workflows/pr-microservice-test.yml +++ b/.github/workflows/pr-microservice-test.yml @@ -33,6 +33,7 @@ jobs: run: | sudo rm -rf ${{github.workspace}}/* docker system prune -f + docker rmi $(docker images --filter reference="*/*:comps" -q) || true - name: Checkout out Repo uses: actions/checkout@v4 diff --git a/tests/test_asr.sh b/tests/test_asr.sh index 1cfc4a0937..87553f6ab5 100644 --- a/tests/test_asr.sh +++ b/tests/test_asr.sh @@ -10,8 +10,8 @@ ip_address=$(hostname -I | awk '{print $1}') function build_docker_images() { cd $WORKPATH echo $(pwd) - docker build -t opea/whisper:comps -f comps/asr/whisper/Dockerfile . - docker build -t opea/asr:comps -f comps/asr/Dockerfile . + docker build --no-cache -t opea/whisper:comps -f comps/asr/whisper/Dockerfile . + docker build --no-cache -t opea/asr:comps -f comps/asr/Dockerfile . } function start_service() { diff --git a/tests/test_tts.sh b/tests/test_tts.sh index 1982271fae..943ae18540 100644 --- a/tests/test_tts.sh +++ b/tests/test_tts.sh @@ -10,8 +10,8 @@ ip_address=$(hostname -I | awk '{print $1}') function build_docker_images() { cd $WORKPATH echo $(pwd) - docker build -t opea/speecht5:comps -f comps/tts/speecht5/Dockerfile . - docker build -t opea/tts:comps -f comps/tts/Dockerfile . + docker build --no-cache -t opea/speecht5:comps -f comps/tts/speecht5/Dockerfile . + docker build --no-cache -t opea/tts:comps -f comps/tts/Dockerfile . } function start_service() {