From 41e66405285df64a27eb5af1dd2074e0ae1777b0 Mon Sep 17 00:00:00 2001 From: Rodribm10 <160369324+Rodribm10@users.noreply.github.com> Date: Fri, 2 Jan 2026 08:46:41 -0300 Subject: [PATCH] Enhance GitHub Actions for multi-architecture builds --- .github/workflows/deploy_ghcr.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy_ghcr.yml b/.github/workflows/deploy_ghcr.yml index 58ec6d8..88b7d3c 100644 --- a/.github/workflows/deploy_ghcr.yml +++ b/.github/workflows/deploy_ghcr.yml @@ -3,7 +3,7 @@ name: Build and Push to GHCR on: push: branches: - - chatwoot-jasmine # sua branch + - chatwoot-jasmine jobs: build: @@ -16,6 +16,12 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: @@ -23,12 +29,11 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Build and Push + - name: Build and Push (multi-arch) uses: docker/build-push-action@v5 with: context: . file: ./docker/Dockerfile push: true + platforms: linux/amd64,linux/arm64 tags: ghcr.io/rodribm10/chatwoot-jasmine:latest - -