Skip to content

Commit 73b0448

Browse files
testing automation flow
1 parent 9eea724 commit 73b0448

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ jobs:
141141
az acr build -r ${acr_name} -t ${backend_build_image_tag} ./src/backend
142142
echo "Backend image build completed successfully."
143143
144-
frontend_container_app_name="macae-backend"
144+
frontend_container_app_name="${{ env.APP_SERVICE_NAME }}"
145145
frontend_build_image_tag="frontend:latest"
146146
147147
echo "Building the container image..."
@@ -150,9 +150,11 @@ jobs:
150150
echo "Frontend image build completed successfully."
151151
152152
# Add the new container to the website
153-
154-
155-
153+
az webapp config container set --resource-group ${{ env.RESOURCE_GROUP_NAME }}) \
154+
--name ${frontend_container_app_name} \
155+
--container-image-name ${acr_name}.azurecr.io/frontend:latest \
156+
--container-registry-url https://${acr_name}.azurecr.io
157+
156158
157159
# - name: Delete Bicep Deployment
158160
# if: success()

0 commit comments

Comments
 (0)