From b06c70a61dc80fab2c43f9bee719f853610232c7 Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Thu, 26 Feb 2026 11:17:34 +0530 Subject: [PATCH] chore: update GitHub Actions workflow to trigger on main branch pushes and add concurrency settings --- .github/workflows/docker_build.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/docker_build.yaml b/.github/workflows/docker_build.yaml index f55419200..73ae1882c 100644 --- a/.github/workflows/docker_build.yaml +++ b/.github/workflows/docker_build.yaml @@ -1,6 +1,12 @@ name: Build and Push Docker Images on: + push: + branches: + - main + paths: + - 'surfsense_backend/**' + - 'surfsense_web/**' workflow_dispatch: inputs: branch: @@ -8,6 +14,10 @@ on: required: false default: '' +concurrency: + group: docker-build + cancel-in-progress: false + permissions: contents: write packages: write