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