From 9161a4a6f09e69fdbbfd3642ce03c697ed64231e Mon Sep 17 00:00:00 2001 From: Cher24 <175677640+Cher24@users.noreply.github.com> Date: Mon, 1 Sep 2025 21:05:40 +1000 Subject: [PATCH 1/2] git commit --amend --reset-authorchore(ci): trigger backend CI :wq # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. git commit --amend --reset-author# --- .github/workflows/backend_ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/backend_ci.yml b/.github/workflows/backend_ci.yml index 87ee014..58d5036 100644 --- a/.github/workflows/backend_ci.yml +++ b/.github/workflows/backend_ci.yml @@ -1,4 +1,5 @@ # week07/.github/workflows/backend_ci.yml +# Trigger CI for testing by Cher name: Backend CI - Test, Build and Push Images to ACR From ddfec3039304aca91e3de3f9d25d685815ddc7ea Mon Sep 17 00:00:00 2001 From: Cher24 <175677640+Cher24@users.noreply.github.com> Date: Mon, 1 Sep 2025 22:02:46 +1000 Subject: [PATCH 2/2] chore(ci): trigger backend CI for testing --- .github/workflows/backend_ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/backend_ci.yml b/.github/workflows/backend_ci.yml index 58d5036..ea0e83d 100644 --- a/.github/workflows/backend_ci.yml +++ b/.github/workflows/backend_ci.yml @@ -127,8 +127,10 @@ jobs: # Login to Azure Container Registry (ACR) - name: Login to Azure Container Registry - run: az acr login --name ${{ env.ACR_LOGIN_SERVER }} - + run: | + REGISTRY_NAME=$(echo ${{ env.ACR_LOGIN_SERVER }} | cut -d'.' -f1) + az acr login --name $REGISTRY_NAME + # Build and Push Docker image for Product Service - name: Build and Push Product Service Image run: |