Added working directory
Some checks failed
Build and Deploy / Deploy (push) Has been cancelled

This commit is contained in:
Xeovalyte 2023-11-28 16:19:40 +01:00
parent 2f86fc30c3
commit 49eb33e83a
Signed by: xeovalyte
GPG Key ID: 4ECA38E66D75674B

View File

@ -14,8 +14,12 @@ jobs:
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: 18 node-version: 18
- run: npm install - run: npm install
working-directory: ./website
- run: npm run build - run: npm run build
working-directory: ./website
- 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 +31,12 @@ jobs:
password: ${{ secrets.PASSWORD }} password: ${{ secrets.PASSWORD }}
- run: docker buildx build -t gitea.xeovalyte.dev/xeovalyte/portfolio:latest --load --platform=linux/amd64 . - run: docker buildx build -t gitea.xeovalyte.dev/xeovalyte/portfolio:latest --load --platform=linux/amd64 .
working-directory: ./website
- run: docker push gitea.xeovalyte.dev/xeovalyte/portfolio:latest - run: docker push gitea.xeovalyte.dev/xeovalyte/portfolio:latest
working-directory: ./website
- run: docker buildx build -t gitea.xeovalyte.dev/xeovalyte/portfolio:latest-arm --load --platform=linux/arm64 . - run: docker buildx build -t gitea.xeovalyte.dev/xeovalyte/portfolio:latest-arm --load --platform=linux/arm64 .
working-directory: ./website
- run: docker push gitea.xeovalyte.dev/xeovalyte/portfolio:latest-arm - run: docker push gitea.xeovalyte.dev/xeovalyte/portfolio:latest-arm
working-directory: ./website