From f35b156451d85d8c55ec4ad03958eff90c9ba7e4 Mon Sep 17 00:00:00 2001 From: Steve Laing Date: Tue, 14 Jan 2025 09:56:31 +0000 Subject: [PATCH] Reference feature branch image building workflow in devops templates --- .github/workflows/cicd-1-pull-request.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cicd-1-pull-request.yaml b/.github/workflows/cicd-1-pull-request.yaml index 08be177c..848e63c6 100644 --- a/.github/workflows/cicd-1-pull-request.yaml +++ b/.github/workflows/cicd-1-pull-request.yaml @@ -97,8 +97,8 @@ jobs: build-image-stage: # Recommended maximum execution time is 3 minutes name: Image build stage needs: [metadata, commit-stage, test-stage] - uses: NHSDigital/dtos-devops-templates/.github/workflows/stage-3-build-images.yaml@main - if: needs.metadata.outputs.does_pull_request_exist == 'true' || github.ref == 'refs/heads/main' || (github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'reopened')) + uses: NHSDigital/dtos-devops-templates/.github/workflows/stage-3-build-images.yaml@commgt-feature-branch-deployment + if: needs.metadata.outputs.does_pull_request_exist == 'true' || github.ref == 'refs/heads/feature-flask-function-app-terraform' || (github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'reopened')) with: docker_compose_file: ./compose.yml excluded_containers_csv_list: azurite,azurite-setup,db,end-to-end-tests