diff --git a/.github/workflows/build-docker-images.yml b/.github/workflows/build-docker-images.yml index b6eb1ed45..28586c2ce 100644 --- a/.github/workflows/build-docker-images.yml +++ b/.github/workflows/build-docker-images.yml @@ -28,9 +28,9 @@ jobs: dockerfile: docker/Frontend.Dockerfile uses: ./.github/workflows/build-docker.yml with: - registry: ${{ github.event.workflow_run.head_branch == 'main' && 'fruoccopublic.azurecr.io' || 'cwydcontainerreg.azurecr.io'}} - username: ${{ github.event.workflow_run.head_branch == 'main' && 'fruoccopublic' || 'cwydcontainerreg'}} + registry: cwydcontainerreg.azurecr.io + username: cwydcontainerreg app_name: ${{ matrix.app_name }} dockerfile: ${{ matrix.dockerfile }} - push: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.head_branch == 'main' || github.event.workflow_run.head_branch == 'dev' || github.event.workflow_run.head_branch == 'demo' }} + push: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.head_branch == 'main' }} secrets: inherit