Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/backend_ci.yml
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -126,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: |
Expand Down