fixed ci
Some checks failed
Build and Deploy / Deploy (push) Failing after 16s

This commit is contained in:
Xeovalyte 2023-05-01 20:02:39 +02:00
parent fad71e9345
commit 562d432080
2 changed files with 4 additions and 4 deletions

View File

@ -14,6 +14,7 @@ jobs:
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: 18 node-version: 18
- run: cd frontend
- run: npm install - run: npm install
- run: npm run build - run: npm run build
@ -26,6 +27,8 @@ jobs:
username: ${{ secrets.USERNAME }} username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }} password: ${{ secrets.PASSWORD }}
- run: cd ..
- run: docker buildx build -t gitea.xeovalyte.dev/xeovalyte/wrbapp:latest-arm --load --platform=linux/arm64 . - run: docker buildx build -t gitea.xeovalyte.dev/xeovalyte/wrbapp:latest-arm --load --platform=linux/arm64 .
- run: docker push gitea.xeovalyte.dev/xeovalyte/wrbapp:latest-arm - run: docker push gitea.xeovalyte.dev/xeovalyte/wrbapp:latest-arm

View File

@ -2,10 +2,7 @@ FROM node:18
WORKDIR /usr/src/app WORKDIR /usr/src/app
COPY ./frontend . COPY ./frontend/output .
RUN npm install
RUN npm run build
EXPOSE 3000 EXPOSE 3000