Skip to content

Commit f0d5300

Browse files
committed
Reorder workflow triggers to prioritize pull requests over push events
1 parent 3493b06 commit f0d5300

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/docker-build.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
name: Build and Push Docker Images
22

33
on:
4-
push:
4+
pull_request:
55
branches:
66
- main
7+
push:
78
tags:
89
- 'v*'
9-
pull_request:
10-
branches:
11-
- main
1210

1311
env:
1412
REGISTRY: ghcr.io

0 commit comments

Comments
 (0)