Skip to content

Commit 8379169

Browse files
authored
Merge pull request #110 from vishnuchalla/actions-fix
Updating actions to get triggered only on main branch
2 parents 5c69e85 + d5f90fd commit 8379169

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/build-push.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Build and Push Image
2-
on: [ push ]
2+
on:
3+
push:
4+
branches:
5+
- main
36

47
jobs:
58
build:

.github/workflows/release-build-push.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ name: Release Build and Push Image
33
on:
44
push:
55
tags:
6-
- "*"
6+
- "*"
7+
branches:
8+
- main
79

810
jobs:
911
build:

0 commit comments

Comments
 (0)