diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 3d3e95d..e774e94 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -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