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 - -