File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 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 . -f installer/Dockerfile
96- rm -rf ./ui && cp -r ./web-build/ui ./
95+ docker buildx build --target web-build --output type=local,dest=./web-build-output . -f installer/Dockerfile
96+ rm -rf ./ui
97+ cp -r ./web-build-output/ui ./
98+ rm -rf ./web-build-output
9799 - name : Docker Buildx (build-and-push)
98100 run : |
99101 sudo sync && echo 3 | sudo tee /proc/sys/vm/drop_caches && free -m
@@ -156,8 +158,10 @@ jobs:
156158 password : ${{ secrets.DOCKERHUB_TOKEN }}
157159 - name : Build Web
158160 run : |
159- docker buildx build --target web-build --output type=local,dest=./web-build . -f installer/Dockerfile
160- rm -rf ./ui && cp -r ./web-build/ui ./
161+ docker buildx build --target web-build --output type=local,dest=./web-build-output . -f installer/Dockerfile
162+ rm -rf ./ui
163+ cp -r ./web-build-output/ui ./
164+ rm -rf ./web-build-output
161165 - name : Docker Buildx (build-and-push)
162166 run : |
163167 sudo sync && echo 3 | sudo tee /proc/sys/vm/drop_caches && free -m
You can’t perform that action at this time.
0 commit comments