added working-directory
Some checks failed
Build and Deploy / Deploy (push) Failing after 57s

This commit is contained in:
Xeovalyte 2023-05-01 20:04:42 +02:00
parent 562d432080
commit bee760839f

View File

@ -14,9 +14,10 @@ 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
working-directory: ./frontend
- run: npm run build - run: npm run build
working-directory: ./frontend
- uses: docker/setup-qemu-action@v2 - uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2 - uses: docker/setup-buildx-action@v2
@ -27,8 +28,6 @@ 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