fix: Build only linux/amd64 to avoid QEMU emulation failures

ARM64 builds were failing with 'Illegal instruction' errors during npm ci
due to QEMU emulation issues. Since PatchMon is a Node.js application,
AMD64 images will run fine on ARM64 systems (like Apple Silicon Macs)
using Rosetta emulation. This simplifies the build process.
This commit is contained in:
Muhammad Ibrahim
2025-10-28 16:25:58 +00:00
parent e4d6c1205c
commit 3029278742

View File

@@ -64,7 +64,7 @@ jobs:
with: with:
context: . context: .
file: docker/${{ matrix.image }}.Dockerfile file: docker/${{ matrix.image }}.Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64
# Push if: # Push if:
# - Event is not workflow_dispatch OR input 'push' is true # - Event is not workflow_dispatch OR input 'push' is true
# AND # AND