Update '.gitea/workflows/ci.yml'
This commit is contained in:
parent
81a3df84d1
commit
4be9ab15c8
@ -17,6 +17,9 @@ jobs:
|
|||||||
Deploy:
|
Deploy:
|
||||||
runs-on: ubuntu-docker
|
runs-on: ubuntu-docker
|
||||||
|
|
||||||
|
container:
|
||||||
|
image: catthehacker/ubuntu:act-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Use Nodejs
|
- name: Use Nodejs
|
||||||
@ -28,14 +31,21 @@ jobs:
|
|||||||
|
|
||||||
- uses: docker/setup-qemu-action@v2
|
- uses: docker/setup-qemu-action@v2
|
||||||
- uses: docker/setup-buildx-action@v2
|
- uses: docker/setup-buildx-action@v2
|
||||||
with:
|
|
||||||
platforms: linux/amd64,linux/arm64
|
|
||||||
|
|
||||||
- uses: docker/login-action@v2
|
- uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: gitea.xeovalyte.dev
|
registry: gitea.xeovalyte.dev
|
||||||
username: ${{ secrets.USERNAME }}
|
username: ${{ secrets.USERNAME }}
|
||||||
password: ${{ secrets.PASSWORD }}
|
password: ${{ secrets.PASSWORD }}
|
||||||
- run: docker buildx build -t gitea.xeovalyte.dev/xeovalyte/portfolio:latest-arm --platform=linux/arm64 --load .
|
|
||||||
- run: docker images
|
- uses: docker/build-push-action@v4
|
||||||
- run: docker push gitea.xeovalyte.dev/xeovalyte/portfolio:latest-arm
|
env:
|
||||||
|
ACTIONS_RUNTIME_TOKEN: ''
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
file: ./Dockerfile
|
||||||
|
platforms: |
|
||||||
|
linux/amd64
|
||||||
|
linux/arm64
|
||||||
|
push: true
|
||||||
|
tags: gitea.xeovalyte.dev/xeovalyte/portfolio:latest
|
||||||
|
Loading…
Reference in New Issue
Block a user