Skip to content

Commit ab0c030

Browse files
dockerfile paths added
1 parent 82905df commit ab0c030

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/docker-compose-ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,28 @@ on:
77
jobs:
88
build:
99
runs-on: ubuntu-latest
10+
name: Build and Push Docker Image
1011

12+
on:
13+
push:
14+
branches: [ "main", "master" ]
15+
16+
jobs:
17+
build:
18+
runs-on: ubuntu-latest
19+
strategy:
20+
matrix:
21+
service:
22+
- name: usermanagementapi
23+
context: .
24+
dockerfile: UserManagementApi/Dockerfile
25+
- name: loggingapi
26+
context: .
27+
dockerfile: CentralizedLoggingApi/Dockerfile
28+
- name: integrationportal
29+
context: .
30+
dockerfile: ApiIntegrationMvc/Dockerfile
31+
1132
steps:
1233
- name: Checkout code
1334
uses: actions/checkout@v4

0 commit comments

Comments
 (0)