From d1e88fb0351067c04f8f4028ea3474585adf89ad Mon Sep 17 00:00:00 2001 From: thiennatra Date: Wed, 15 Apr 2026 11:34:15 +0700 Subject: [PATCH] CI: update multi-arch --- .github/workflows/ci-cd.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 154291e..eb06a49 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -50,7 +50,7 @@ jobs: steps: - run: echo "Ready for build/push (merge or manual trigger)" - build-and-push: + build-and-push: name: Build and Push Docker runs-on: ubuntu-latest needs: [deploy-gate] @@ -84,6 +84,9 @@ jobs: echo "📦 Version: ${VERSION}" echo "🐳 Image: ${REGISTRY_IMAGE}:${VERSION}" + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -108,6 +111,7 @@ jobs: with: context: . file: ${{ matrix.dockerfile }} + platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}