Skip to content

Commit 291b790

Browse files
authored
Update build-docker.yaml
Automate workflow.
1 parent af6c636 commit 291b790

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/build-docker.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
name: Build and Publish Docker Images
22

33
on:
4-
workflow_dispatch:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'api/Dockerfile'
9+
- 'front-end-nextjs/Dockerfile'
510

611
jobs:
712
publish_images:

0 commit comments

Comments
 (0)