Skip to content

Commit d5f90fd

Browse files
author
Vishnu Challa
committed
Updating actions to get triggered only on main branch
Signed-off-by: Vishnu Challa <vchalla@vchalla-thinkpadp1gen2.rmtusnc.csb>
1 parent 5c69e85 commit d5f90fd

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)