Update '.gitea/workflows/ci.yml'
This commit is contained in:
parent
81a3df84d1
commit
4be9ab15c8
@ -17,6 +17,9 @@ jobs:
|
||||
Deploy:
|
||||
runs-on: ubuntu-docker
|
||||
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Use Nodejs
|
||||
@ -28,14 +31,21 @@ jobs:
|
||||
|
||||
- uses: docker/setup-qemu-action@v2
|
||||
- uses: docker/setup-buildx-action@v2
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
|
||||
- uses: docker/login-action@v2
|
||||
with:
|
||||
registry: gitea.xeovalyte.dev
|
||||
username: ${{ secrets.USERNAME }}
|
||||
password: ${{ secrets.PASSWORD }}
|
||||
- run: docker buildx build -t gitea.xeovalyte.dev/xeovalyte/portfolio:latest-arm --platform=linux/arm64 --load .
|
||||
- run: docker images
|
||||
- run: docker push gitea.xeovalyte.dev/xeovalyte/portfolio:latest-arm
|
||||
|
||||
- uses: docker/build-push-action@v4
|
||||
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