2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-12-25 03:16:02 +00:00
frappe_docker/.github/workflows/build_develop.yml
Lev f39fe05fca
Use relative path to reusable workflow docker-build-push (#755)
Previously it was not allowed, now it is. Potentially there will be less bugs on changes.
2022-04-04 15:06:30 +05:30

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 }}