From 2144e9d46b4e5f4b5b1caa120509b27a3e9bf791 Mon Sep 17 00:00:00 2001 From: Alastair Lock Date: Wed, 7 Aug 2024 23:38:40 +0100 Subject: [PATCH] wip --- .github/workflows/stage-3-build-images.yaml | 23 +++++++++++---------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/stage-3-build-images.yaml b/.github/workflows/stage-3-build-images.yaml index 3169cb32a..ab14ed99d 100644 --- a/.github/workflows/stage-3-build-images.yaml +++ b/.github/workflows/stage-3-build-images.yaml @@ -73,19 +73,19 @@ jobs: echo "AHL testing" - if [ "${{steps.get-function-names.outputs.FUNC_NAMES}}" == "null" ]; then - echo "No functions changed" - else - echo "These functions will be rebuilt: " ${{steps.get-function-names.outputs.FUNC_NAMES}} - echo "COMMIT_HASH_TAG:$COMMIT_HASH_TAG" - echo "PR_NUM_TAG:$PR_NUM_TAG" - echo "ENVIRONMENT_TAG:$ENVIRONMENT_TAG" + # if [ "${{steps.get-function-names.outputs.FUNC_NAMES}}" == "null" ]; then + # echo "No functions changed" + # else + # echo "These functions will be rebuilt: " ${{steps.get-function-names.outputs.FUNC_NAMES}} + # echo "COMMIT_HASH_TAG:$COMMIT_HASH_TAG" + # echo "PR_NUM_TAG:$PR_NUM_TAG" + # echo "ENVIRONMENT_TAG:$ENVIRONMENT_TAG" - # Build the docker images via the compose file. - docker compose build ${{steps.get-function-names.outputs.FUNC_NAMES}} - fi + # # Build the docker images via the compose file. + # docker compose build ${{steps.get-function-names.outputs.FUNC_NAMES}} + # fi - docker images + # docker images - name: push docker images # if: github.ref == 'refs/heads/main' @@ -106,6 +106,7 @@ jobs: # Iterate over each function name in the list for function in ${{steps.get-function-names.outputs.FUNC_NAMES}}; do # Define the repository name using the function name + echo function: $function repo_name="${{ secrets.ACR_NAME }}.azurecr.io/cohort-manager-$function" # Tag the Docker images