build: try to build web separately.
parent
8c5201b901
commit
e9434b6ba6
|
|
@ -92,7 +92,7 @@ jobs:
|
||||||
password: ${{ secrets.FIT2CLOUD_REGISTRY_PASSWORD }}
|
password: ${{ secrets.FIT2CLOUD_REGISTRY_PASSWORD }}
|
||||||
- name: Build Web
|
- name: Build Web
|
||||||
run: |
|
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
|
rm -rf ./ui
|
||||||
cp -r ./web-build-output/ui ./
|
cp -r ./web-build-output/ui ./
|
||||||
rm -rf ./web-build-output
|
rm -rf ./web-build-output
|
||||||
|
|
@ -158,7 +158,7 @@ jobs:
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
- name: Build Web
|
- name: Build Web
|
||||||
run: |
|
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
|
rm -rf ./ui
|
||||||
cp -r ./web-build-output/ui ./
|
cp -r ./web-build-output/ui ./
|
||||||
rm -rf ./web-build-output
|
rm -rf ./web-build-output
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue