build: try to build web separately.
This commit is contained in:
parent
474e4d843f
commit
faf6f47c97
4
.github/workflows/build-and-push.yml
vendored
4
.github/workflows/build-and-push.yml
vendored
@ -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
Block a user