25 lines
747 B
YAML
25 lines
747 B
YAML
name: Build Chatwoot
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- leal-cyber
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout source
|
|
run: |
|
|
git clone --depth 1 https://github.com/chatwoot/chatwoot.git /source
|
|
ls /source/docker/Dockerfile
|
|
|
|
- name: Build image
|
|
run: |
|
|
cd /source
|
|
docker build -t gitea.lealcyber.com/akadmin/chatwoot:test -f docker/Dockerfile --build-arg RAILS_ENV=production --build-arg BUNDLE_WITHOUT='development:test:enterprise' --build-arg NODE_OPTIONS='--max-old-space-size=1024' .
|
|
|
|
- name: Verify image
|
|
run: docker images gitea.lealcyber.com/akadmin/chatwoot:test
|