Skip to content

Commit 0a2da91

Browse files
Update docker-build-and-push.yml
1 parent 56360f2 commit 0a2da91

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/docker-build-and-push.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
name: Build and Push Docker Image
22

33
on:
4+
push:
5+
branches: [main, dev, demo]
46
pull_request:
7+
branches: [main, dev, demo]
58
types:
69
- opened
710
- ready_for_review
811
- reopened
912
- synchronize
10-
branches:
11-
- main
12-
- dev
13-
- demo
14-
workflow_dispatch: # Add this line to enable manual triggering
13+
merge_group:
1514

1615
jobs:
1716
build-and-push:
@@ -61,4 +60,3 @@ jobs:
6160
tags: |
6261
${{ steps.registry.outputs.registry }}/webapp:${{ steps.determine_tag.outputs.tagname }}
6362
${{ steps.registry.outputs.registry }}/webapp:${{ steps.determine_tag.outputs.tagname }}_${{ steps.date.outputs.date }}_${{ github.run_number }}
64-

0 commit comments

Comments
 (0)