mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-12-25 03:16:02 +00:00
f39fe05fca
Previously it was not allowed, now it is. Potentially there will be less bugs on changes.
35 lines
778 B
YAML
35 lines
778 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: ./.github/workflows/docker-build-push.yml
|
|
with:
|
|
repo: erpnext
|
|
version: develop
|
|
push: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}
|
|
platforms: linux/amd64,linux/arm64
|
|
secrets:
|
|
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|