We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dc18c34 + b09bf67 commit 018b247Copy full SHA for 018b247
1 file changed
.github/workflows/docker.yml
@@ -7,20 +7,15 @@ on:
7
# 2) When a GitHub Release is published
8
release:
9
types: [published]
10
-
11
- # 3) When pull requests are merged into the default branch (e.g. main)
12
- pull_request:
13
- types: [closed]
14
- branches:
15
- - main # change if your default branch is different
16
- # - stable # add more target branches if needed
+ # 3) When push is completed to main (i.e. PRs are merged)
+ push:
+ branches: [ main ]
17
18
jobs:
19
build:
20
# run if:
21
# - not a PR event (i.e., release or manual), OR
22
# - it *is* a PR event and the PR was merged
23
- if: github.event_name != 'pull_request' || github.event.pull_request.merged == true
24
name: Docker Image - ${{ matrix.name }}
25
strategy:
26
matrix:
0 commit comments