mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-12-25 03:16:02 +00:00
437afb1776
* Make build workflows run if files that they're are described in change (closes #691) * Update
34 lines
761 B
YAML
34 lines
761 B
YAML
name: Develop build
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- images/nginx/**
|
|
- images/socketio/**
|
|
- images/worker/**
|
|
- overrides/**
|
|
- tests/**
|
|
- compose.yaml
|
|
- docker-bake.hcl
|
|
- example.env
|
|
- .github/workflows/build_develop.yml
|
|
|
|
schedule:
|
|
# Every day at 12:00 pm
|
|
- cron: 0 0 * * *
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
uses: frappe/frappe_docker/.github/workflows/docker-build-push.yml@main
|
|
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 }}
|