Skip to content

Commit e9434b6

Browse files
build: try to build web separately.
1 parent 8c5201b commit e9434b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-and-push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
password: ${{ secrets.FIT2CLOUD_REGISTRY_PASSWORD }}
9393
- name: Build Web
9494
run: |
95-
docker buildx build --target web-build --output type=local,dest=./web-build-output . -f installer/Dockerfile
95+
docker buildx build --no-cache --target web-build --output type=local,dest=./web-build-output . -f installer/Dockerfile
9696
rm -rf ./ui
9797
cp -r ./web-build-output/ui ./
9898
rm -rf ./web-build-output
@@ -158,7 +158,7 @@ jobs:
158158
password: ${{ secrets.DOCKERHUB_TOKEN }}
159159
- name: Build Web
160160
run: |
161-
docker buildx build --target web-build --output type=local,dest=./web-build-output . -f installer/Dockerfile
161+
docker buildx build --no-cache --target web-build --output type=local,dest=./web-build-output . -f installer/Dockerfile
162162
rm -rf ./ui
163163
cp -r ./web-build-output/ui ./
164164
rm -rf ./web-build-output

0 commit comments

Comments
 (0)