From 486cb998189d89f8bdd1154e83613e2d54f8a90f Mon Sep 17 00:00:00 2001
From: Mohammad Shafiee <muhammad.shafiee@gmail.com>
Date: Sun, 17 Mar 2024 11:22:26 +0100
Subject: [PATCH] Update docker-build.yml

---
 .github/workflows/docker-build.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml
index c63eef7..16aa264 100644
--- a/.github/workflows/docker-build.yml
+++ b/.github/workflows/docker-build.yml
@@ -1,6 +1,9 @@
 name: Build and Push Docker Image
 
 on:
+  push:
+      branches:
+        - main
   workflow_dispatch:
 
 jobs: