File tree Expand file tree Collapse file tree 1 file changed +0
-28
lines changed
Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -168,34 +168,6 @@ jobs:
168168 echo "Azure Container Registry name: ${acr_name}"
169169 fi
170170
171-
172- - name : Build the image and update the container app
173- id : build-and-update
174- run : |
175-
176- set -e
177- # Define variables for acr and container app names
178- acr_name="${{ env.ACR_NAME }}"
179- echo "ACR name: {$acr_name}"
180- backend_container_app_name="macae-backend"
181- backend_build_image_tag="backend:latest"
182-
183- echo "Building the container image..."
184- # Build the image
185- az acr build -r ${acr_name} -t ${backend_build_image_tag} ./src/backend
186- echo "Backend image build completed successfully."
187-
188- frontend_container_app_name="${{ env.APP_SERVICE_NAME }}"
189- frontend_build_image_tag="frontend:latest"
190-
191- echo "Building the container image..."
192- # Build the image
193- az acr build -r ${acr_name} -t ${frontend_build_image_tag} ./src/frontend
194- echo "Frontend image build completed successfully."
195-
196- # Add the new container to the website
197- az webapp config container set --resource-group ${{ env.RESOURCE_GROUP_NAME }} --name ${frontend_container_app_name} --container-image-name ${acr_name}.azurecr.io/frontend:latest --container-registry-url https://${acr_name}.azurecr.io
198-
199171
200172 - name : Delete Bicep Deployment
201173 if : success()
You can’t perform that action at this time.
0 commit comments