This commit is contained in:
parent
2f86fc30c3
commit
49eb33e83a
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user