Skip to content

Commit

Permalink
Merge pull request #67 from laradock/ci
Browse files Browse the repository at this point in the history
feat: new PR run build
  • Loading branch information
bestlong authored Dec 4, 2024
2 parents 757bce3 + 960aba4 commit be5ba91
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/dockerpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ on:
branches: '**'
tags: '**'
pull_request:
branches:
- 'master'
branches: '**'
schedule:
- cron: 0 0 * * 6
- cron: 0 0 * * 6

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

0 comments on commit be5ba91

Please sign in to comment.