2021-12-22 13:45:40 +00:00
|
|
|
name: Develop build
|
2021-12-17 08:53:26 +00:00
|
|
|
|
|
|
|
on:
|
2021-12-17 12:34:31 +00:00
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
paths:
|
|
|
|
- build/nginx/**
|
|
|
|
- build/socketio/**
|
|
|
|
- build/worker/**
|
|
|
|
- overrides/**
|
|
|
|
- tests/**
|
|
|
|
- compose.yaml
|
|
|
|
- docker-bake.hcl
|
|
|
|
- example.env
|
2021-12-17 08:53:26 +00:00
|
|
|
|
2021-12-17 12:34:31 +00:00
|
|
|
schedule:
|
|
|
|
# Every day at 12:00 pm
|
|
|
|
- cron: 0 0 * * *
|
2021-12-17 08:53:26 +00:00
|
|
|
|
2021-12-17 12:34:31 +00:00
|
|
|
workflow_dispatch:
|
2021-12-17 08:53:26 +00:00
|
|
|
|
|
|
|
jobs:
|
2021-12-22 13:45:40 +00:00
|
|
|
build:
|
2021-12-17 08:56:00 +00:00
|
|
|
name: Frappe and ERPNext
|
2021-12-17 08:53:26 +00:00
|
|
|
uses: vrslev/frappe_docker/.github/workflows/docker-build-push.yml@beautify
|
|
|
|
with:
|
|
|
|
repo: erpnext
|
|
|
|
version: develop
|
|
|
|
push: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}
|
|
|
|
secrets:
|
|
|
|
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
|
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|