I am trying to update my deployment with latest image content on Azure Kubernetes Service every time some code is committed to github . I have made a stage in my build pipeline to build and push the image on docker hub which is working perfectly fine. however in my release pipeline the image is being used as an artifact and is being deployed to the Azure Kubernetes Service , but the problem is that the image on AKS in not updating according to the image pushed on Docker Hub with latest code.
Right now each time some commit happens i have to manually update the image on AKS via the Command
kubectl set image deployment/demo-microservice demo-microservice=customerandcontact:contact
My Yaml File
Can anyone tell the error/changes if any in my yaml file to automatically update the image on AKS.

:contactso it does not change kubernetes wont do anything - Thomas