Skip to content

Conversation

@ehowe
Copy link

@ehowe ehowe commented Oct 29, 2025

Build ARM64 Images.

I've been building ARM64 images using a Gitea action workflow, and the containers work flawlessly. No changes to the project or its dependencies were necessary for this, except changing the Docker image source to the official ARM build of the Node container. I took a stab at updating the GitHub action to accomplish this, but my approach might not be the best. I'm happy to update this to follow your best practices if you don't like my approach.

This would also close #1786.

For transparency, here is the Gitea workflow I've been using:

name: Docker Build and Publish
run-name: ${{ gitea.actor }} is runs ci pipeline
on:
  push:
    branches: [arm]

jobs:
  publish:
    strategy:
      matrix:
        include:
          - image: <private registry>/opensign
            dockerfile: apps/OpenSign/Dockerhubfile
          - image: <private registry>/opensignserver
            dockerfile: apps/OpenSignServer/Dockerhubfile
    runs-on: ubuntu-latest
    container:
      image: ghcr.io/catthehacker/ubuntu:act-latest
    steps:
      - uses: https://github.com/actions/checkout@v4
      - name: Set up Docker Buildx
        uses: https://github.com/docker/setup-buildx-action@v3
        env:
          DOCKER_HOST: unix:///var/run/docker.sock
        with:
          config-inline: |
            [registry."<private registry>"]
      - name: Log in to Docker Registry
        uses: https://github.com/docker/login-action@v3
        with:
          registry: <private registry>
          username: ${{ secrets.DOCKER_USERNAME }}
          password: ${{ secrets.DOCKER_PASSWORD }}
      - name: Build and push Docker image
        uses: https://github.com/docker/build-push-action@v5
        env:
          DOCKER_HOST: unix:///var/run/docker.sock
        with:
          context: .
          file: ${{ matrix.dockerfile }}
          push: true
          platforms: linux/arm64
          tags: |
            ${{ matrix.image }}:${{ gitea.sha }}
            ${{ matrix.image }}:latest

@vercel
Copy link

vercel bot commented Oct 29, 2025

@ehowe is attempting to deploy a commit to the prafull 's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Add support for ARM devices

1 participant