diff --git a/.github/workflows/nomploy.yml b/.github/workflows/nomploy.yml index 8dd212bed..6cc521221 100644 --- a/.github/workflows/nomploy.yml +++ b/.github/workflows/nomploy.yml @@ -21,11 +21,17 @@ permissions: jobs: build-and-push: runs-on: ubuntu-latest - timeout-minutes: 60 + timeout-minutes: 120 steps: - name: Checkout uses: actions/checkout@v4 + # QEMU lets a single amd64 runner also build the arm64 image (emulated). + # Simpler and plan-independent; slower than native arm runners. For faster + # builds, split into native amd64 + ubuntu-24.04-arm jobs with a manifest. + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -61,9 +67,7 @@ jobs: uses: docker/build-push-action@v6 with: context: . - # arm64 can be added here (needs QEMU or an arm runner; slower build): - # platforms: linux/amd64,linux/arm64 - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}