Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip
Browse files Browse the repository at this point in the history
mrlockstar committed Aug 7, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 77063fd commit 2144e9d
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/stage-3-build-images.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2144e9d

Please sign in to comment.