chatwoot-develop/.github/workflows/deploy_ghcr.yml
2026-01-02 08:26:36 -03:00

32 lines
691 B
YAML

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