File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff 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()
You can’t perform that action at this time.
0 commit comments