From a929f756f8799eaa620886d7526dbd77367c2126 Mon Sep 17 00:00:00 2001 From: "Shao Yu-Lung (Allen)" Date: Wed, 4 Dec 2024 10:13:07 +0800 Subject: [PATCH] feat: new PR run build --- .github/workflows/dockerimage.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml index a0006b4..69d1cf8 100644 --- a/.github/workflows/dockerimage.yml +++ b/.github/workflows/dockerimage.yml @@ -5,7 +5,7 @@ on: branches: '**' tags: '**' schedule: - - cron: 0 0 * * 6 + - cron: 0 0 * * 6 jobs: build: @@ -50,5 +50,5 @@ jobs: with: file: Dockerfile-${{ matrix.php_version }} platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v7,linux/arm/v6 - push: ${{ (github.repository == 'laradock/php-fpm') && (github.ref == 'refs/heads/master') }} + push: ${{ (github.event_name != 'pull_request') && (github.repository == 'laradock/php-fpm') && (github.ref == 'refs/heads/master') }} tags: ${{ steps.meta.outputs.tags }}