re-enable PR builds

This commit is contained in:
Al Majumdar 2022-04-01 23:11:03 +05:30
parent b0acc5cb6f
commit 908fbf66ab
2 changed files with 14 additions and 15 deletions

View file

@ -36,7 +36,7 @@ jobs:
with: with:
targets: bench-test targets: bench-test
env: env:
MULTI_ARCH_BUILD: "${{ github.event_name == 'pull_request' }}" MULTI_ARCH_BUILD: "${{ github.event_name != 'pull_request' }}"
- name: Login - name: Login
if: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }} if: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}

View file

@ -1,20 +1,19 @@
name: Stable build name: Stable build
on: on:
# toggle commenting to run on PR pull_request:
# pull_request: branches:
# branches: - main
# - main paths:
# paths: - images/nginx/**
# - images/nginx/** - images/socketio/**
# - images/socketio/** - images/worker/**
# - images/worker/** - overrides/**
# - overrides/** - tests/**
# - tests/** - compose.yaml
# - compose.yaml - docker-bake.hcl
# - docker-bake.hcl - example.env
# - example.env - .github/workflows/build_stable.yml
# - .github/workflows/build_stable.yml
push: push:
branches: branches: