diff --git a/.github/workflows/app_service_deploy.yaml b/.github/workflows/app_service_deploy.yaml index a4b53ca..f1e1597 100644 --- a/.github/workflows/app_service_deploy.yaml +++ b/.github/workflows/app_service_deploy.yaml @@ -33,6 +33,7 @@ jobs: id-token: write outputs: image-tags: ${{ steps.meta.outputs.tags }} + image-version: ${{ steps.meta.ouputs.version }} steps: @@ -107,7 +108,8 @@ jobs: with: resource-group-name: ${{ env.RESOURCE_GROUP_NAME }} app-name: ${{ env.APP_NAME }} - images: ${{ needs.build-and-push-image.outputs.image-tags }} + # images: ${{ needs.build-and-push-image.outputs.image-tags }} + images: ${{ env.IMAGE_NAME }}:${{ needs.build-and-push-image.outputs.image-version }} - name: Deploy to Staging Slot uses: azure/webapps-deploy@de617f46172a906d0617bb0e50d81e9e3aec24c8 # v3.0.1 @@ -115,7 +117,8 @@ jobs: with: resource-group-name: ${{ env.RESOURCE_GROUP_NAME }} app-name: ${{ env.APP_NAME }} - images: ${{ needs.build-and-push-image.outputs.image-tags }} + # images: ${{ needs.build-and-push-image.outputs.image-tags }} + images: ${{ env.IMAGE_NAME }}:${{ needs.build-and-push-image.outputs.image-version }} slot-name: staging - name: Ping Staging Health