From faf6f47c975943ed6fa49c5083fb817c157d1580 Mon Sep 17 00:00:00 2001 From: liqiang-fit2cloud Date: Wed, 20 Aug 2025 17:41:27 +0800 Subject: [PATCH] build: try to build web separately. --- .github/workflows/build-and-push.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-push.yml b/.github/workflows/build-and-push.yml index f0f365ed..41e9d985 100644 --- a/.github/workflows/build-and-push.yml +++ b/.github/workflows/build-and-push.yml @@ -92,7 +92,7 @@ jobs: password: ${{ secrets.FIT2CLOUD_REGISTRY_PASSWORD }} - name: Build Web run: | - docker buildx build --target web-build --output type=local,dest=./web-build-output . -f installer/Dockerfile + docker buildx build --no-cache --target web-build --output type=local,dest=./web-build-output . -f installer/Dockerfile rm -rf ./ui cp -r ./web-build-output/ui ./ rm -rf ./web-build-output @@ -158,7 +158,7 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build Web run: | - docker buildx build --target web-build --output type=local,dest=./web-build-output . -f installer/Dockerfile + docker buildx build --no-cache --target web-build --output type=local,dest=./web-build-output . -f installer/Dockerfile rm -rf ./ui cp -r ./web-build-output/ui ./ rm -rf ./web-build-output