Researcher | Client Advisor - workflows, code owners and dependabot added to accelerators #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build ClientAdvisor Docker Images | |
on: | |
push: | |
branches: [main] | |
paths: | |
- ClientAdvisor/** | |
pull_request: | |
branches: [main] | |
types: | |
- opened | |
- ready_for_review | |
- reopened | |
- synchronize | |
paths: | |
- ClientAdvisor/** | |
merge_group: | |
jobs: | |
docker-build: | |
strategy: | |
matrix: | |
include: | |
- app_name: byc-wa-app | |
dockerfile: ClientAdvisor/App/WebApp.Dockerfile | |
password_secret: DOCKER_PASSWORD | |
- app_name: byc-wa-fn | |
dockerfile: ClientAdvisor/AzureFunction/Dockerfile | |
password_secret: DOCKER_PASSWORD | |
uses: ./.github/workflows/build-docker.yml | |
with: | |
registry: bycwacontainerreg.azurecr.io | |
username: bycwacontainerreg | |
password_secret: ${{ matrix.password_secret }} | |
app_name: ${{ matrix.app_name }} | |
dockerfile: ${{ matrix.dockerfile }} | |
push: true # Adjust this logic as necessary | |
secrets: inherit |