Skip to content

Commit f39bb20

Browse files
build: try to build web separately.
1 parent a13e524 commit f39bb20

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ jobs:
9090
registry: ${{ secrets.FIT2CLOUD_REGISTRY_HOST }}
9191
username: ${{ secrets.FIT2CLOUD_REGISTRY_USERNAME }}
9292
password: ${{ secrets.FIT2CLOUD_REGISTRY_PASSWORD }}
93+
- name: Build Web
94+
run: |
95+
docker buildx build --target web-build --output type=local,dest=./web-build . -f installer/Dockerfile
96+
rm -rf ui/* && cp -r ./web-build/ui/* ui/
9397
- name: Docker Buildx (build-and-push)
9498
run: |
9599
sudo sync && echo 3 | sudo tee /proc/sys/vm/drop_caches && free -m

0 commit comments

Comments
 (0)