Enhance GitHub Actions for multi-architecture builds

This commit is contained in:
Rodribm10 2026-01-02 08:46:41 -03:00 committed by GitHub
parent 6c3cd64e77
commit 41e6640528
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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