Skip to content

Commit

Permalink
Updating actions to get triggered only on main branch
Browse files Browse the repository at this point in the history
Signed-off-by: Vishnu Challa <vchalla@vchalla-thinkpadp1gen2.rmtusnc.csb>
  • Loading branch information
Vishnu Challa committed Jul 18, 2024
1 parent 5c69e85 commit d5f90fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build-push.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Build and Push Image
on: [ push ]
on:
push:
branches:
- main

jobs:
build:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release-build-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ name: Release Build and Push Image
on:
push:
tags:
- "*"
- "*"
branches:
- main

jobs:
build:
Expand Down

0 comments on commit d5f90fd

Please # to comment.