chore: update GitHub Actions workflow to trigger on main branch pushes and add concurrency settings

This commit is contained in:
Anish Sarkar 2026-02-26 11:17:34 +05:30
parent 512640354c
commit b06c70a61d

View file

@ -1,6 +1,12 @@
name: Build and Push Docker Images name: Build and Push Docker Images
on: on:
push:
branches:
- main
paths:
- 'surfsense_backend/**'
- 'surfsense_web/**'
workflow_dispatch: workflow_dispatch:
inputs: inputs:
branch: branch:
@ -8,6 +14,10 @@ on:
required: false required: false
default: '' default: ''
concurrency:
group: docker-build
cancel-in-progress: false
permissions: permissions:
contents: write contents: write
packages: write packages: write