chore: OpenAI models by replacing Standard with GlobalStandard across infrastructure in the Bicep
#3469
This file contains hidden or 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 Docker and Optional Push | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - dev | |
| - demo | |
| pull_request: | |
| branches: | |
| - main | |
| - dev | |
| - demo | |
| types: | |
| - opened | |
| - ready_for_review | |
| - reopened | |
| - synchronize | |
| merge_group: | |
| workflow_dispatch: | |
| jobs: | |
| docker-build: | |
| strategy: | |
| matrix: | |
| include: | |
| - app_name: rag-adminwebapp | |
| dockerfile: docker/Admin.Dockerfile | |
| - app_name: rag-backend | |
| dockerfile: docker/Backend.Dockerfile | |
| - app_name: rag-webapp | |
| dockerfile: docker/Frontend.Dockerfile | |
| uses: ./.github/workflows/build-docker.yml | |
| with: | |
| old_registry: ${{ github.ref_name == 'main' && 'fruoccopublic.azurecr.io' }} | |
| new_registry: 'cwydcontainerreg.azurecr.io' | |
| old_username: ${{ github.ref_name == 'main' && 'fruoccopublic' }} | |
| new_username: 'cwydcontainerreg' | |
| app_name: ${{ matrix.app_name }} | |
| dockerfile: ${{ matrix.dockerfile }} | |
| push: ${{ github.ref_name == 'main' || github.ref_name == 'dev' || github.ref_name == 'demo'|| github.ref_name == 'dependabotchanges' }} | |
| secrets: inherit |