Skip to content

Commit 52c45ba

Browse files
changed file name
1 parent 9a1ac07 commit 52c45ba

File tree

4 files changed

+74
-57
lines changed

4 files changed

+74
-57
lines changed

.github/workflows/buid-docker-image.yml

Lines changed: 0 additions & 56 deletions
This file was deleted.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Build ClientAdvisor Docker Images
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- ClientAdvisor/**
8+
pull_request:
9+
branches: [main]
10+
types:
11+
- opened
12+
- ready_for_review
13+
- reopened
14+
- synchronize
15+
paths:
16+
- ClientAdvisor/**
17+
merge_group:
18+
19+
jobs:
20+
docker-build:
21+
strategy:
22+
matrix:
23+
include:
24+
- app_name: clientadvisor-webapp
25+
dockerfile: ClientAdvisor/App/WebApp.Dockerfile
26+
password_secret: DOCKER_PASSWORD
27+
- app_name: clientadvisor-azurefunction
28+
dockerfile: ClientAdvisor/AzureFunction/Dockerfile
29+
password_secret: DOCKER_PASSWORD
30+
31+
uses: ./.github/workflows/build-docker.yml
32+
with:
33+
registry: pslpricicdcontainerreg.azurecr.io
34+
username: pslpricicdcontainerreg
35+
app_name: ${{ matrix.app_name }}
36+
dockerfile: ${{ matrix.dockerfile }}
37+
push: true # Adjust this logic as necessary
38+
secrets: inherit

.github/workflows/build-docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
- name: Checkout
3434
uses: actions/checkout@v4
35-
35+
3636
- name: Docker Login
3737
if: ${{ inputs.push }}
3838
uses: docker/login-action@v3
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Build ResearchAssistant Docker Images
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- ResearchAssistant/**
8+
pull_request:
9+
branches: [main]
10+
types:
11+
- opened
12+
- ready_for_review
13+
- reopened
14+
- synchronize
15+
paths:
16+
- ResearchAssistant/**
17+
merge_group:
18+
19+
jobs:
20+
docker-build:
21+
strategy:
22+
matrix:
23+
include:
24+
- app_name: researchassistant-webapp
25+
dockerfile: ResearchAssistant/App/WebApp.Dockerfile
26+
password_secret: DOCKER_PASSWORD_RESEARCHASSISTANT
27+
28+
uses: ./.github/workflows/build-docker.yml
29+
with:
30+
registry: pslpriracontainerreg.azurecr.io
31+
username: pslpriracontainerreg
32+
app_name: ${{ matrix.app_name }}
33+
dockerfile: ${{ matrix.dockerfile }}
34+
push: true # Adjust this logic as necessary
35+
secrets: inherit

0 commit comments

Comments
 (0)