From 651f1c8d76a64b47a6ec322edae4a98ec6714e5f Mon Sep 17 00:00:00 2001 From: Rodribm10 <160369324+Rodribm10@users.noreply.github.com> Date: Fri, 2 Jan 2026 08:26:36 -0300 Subject: [PATCH] add deploy to ghcr --- .github/workflows/deploy_ghcr.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/deploy_ghcr.yml diff --git a/.github/workflows/deploy_ghcr.yml b/.github/workflows/deploy_ghcr.yml new file mode 100644 index 0000000..7ca6a58 --- /dev/null +++ b/.github/workflows/deploy_ghcr.yml @@ -0,0 +1,31 @@ +name: Build and Push to GHCR + +on: + push: + branches: + - chatwoot-jasmine # sua branch + +jobs: + build: + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Login to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Build and Push + uses: docker/build-push-action@v5 + with: + context: . + push: true + tags: ghcr.io/${{ github.repository_owner }}/chatwoot-jasmine:latest