From 1c7f2d064df67847b0e1c5000b5c80394d69d9d3 Mon Sep 17 00:00:00 2001 From: Naresh Kumar D Date: Fri, 16 Oct 2026 12:59:15 +0530 Subject: [PATCH] Update push-docker-image.yml v3 deployment --- .github/workflows/push-docker-image.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push-docker-image.yml b/.github/workflows/push-docker-image.yml index 536c346..fe3a485 100644 --- a/.github/workflows/push-docker-image.yml +++ b/.github/workflows/push-docker-image.yml @@ -73,7 +73,15 @@ jobs: with: creds: ${{ secrets.TDEI_CORE_AZURE_CREDS }} - name: Deploy to Azure - uses: azure/webapps-deploy@v2 + uses: azure/webapps-deploy@v3 with: app-name: ws-backend-${{ needs.set-github-environment.outputs.environment }} - images: ${{ vars.DOCKERHUB_REGISTRY }}/workspaces-backend-v2:${{ needs.set-github-environment.outputs.environment }} \ No newline at end of file + sitecontainers-config: | + [ + { + "containername": "main", + "image": "${{ vars.DOCKERHUB_REGISTRY }}/workspaces-backend-v2:${{ needs.set-github-environment.outputs.environment }}", + "targetport": "8000", + "ismain": true + } + ] \ No newline at end of file