Update '.gitea/workflows/ci.yml'
Some checks failed
Build and Deploy / Build (push) Successful in 39s
Build and Deploy / Deploy (push) Has been cancelled

This commit is contained in:
xeovalyte 2023-04-28 10:45:56 +02:00
parent 81a3df84d1
commit 4be9ab15c8

View File

@ -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