Skip to content

Commit be5ba91

Browse files
authored
Merge pull request #67 from laradock/ci
feat: new PR run build
2 parents 757bce3 + 960aba4 commit be5ba91

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/dockerpublish.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@ on:
55
branches: '**'
66
tags: '**'
77
pull_request:
8-
branches:
9-
- 'master'
8+
branches: '**'
109
schedule:
11-
- cron: 0 0 * * 6
10+
- cron: 0 0 * * 6
1211

1312
jobs:
1413
build:
@@ -53,5 +52,5 @@ jobs:
5352
with:
5453
file: Dockerfile-${{ matrix.php_version }}
5554
platforms: linux/amd64,linux/arm64,linux/386
56-
push: ${{ (github.repository == 'laradock/workspace') && (github.ref == 'refs/heads/master') }}
55+
push: ${{ (github.event_name != 'pull_request') && (github.repository == 'laradock/workspace') && (github.ref == 'refs/heads/master') }}
5756
tags: ${{ steps.meta.outputs.tags }}

0 commit comments

Comments
 (0)