Skip to content

Commit a13e524

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

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,11 @@ jobs:
150150
with:
151151
username: ${{ secrets.DOCKERHUB_USERNAME }}
152152
password: ${{ secrets.DOCKERHUB_TOKEN }}
153-
- name: Docker Buildx (build-and-push)
153+
- name: Build Web
154154
run: |
155-
sudo sync && echo 3 | sudo tee /proc/sys/vm/drop_caches && free -m
156155
docker buildx build --target web-build --output type=local,dest=./web-build . -f installer/Dockerfile
157156
rm -rf ui/* && cp -r ./web-build/ui/* ui/
157+
- name: Docker Buildx (build-and-push)
158+
run: |
159+
sudo sync && echo 3 | sudo tee /proc/sys/vm/drop_caches && free -m
158160
docker buildx build --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} -f installer/Dockerfile

0 commit comments

Comments
 (0)