title: Tagging best practices in Azure DeVops for docker images deployed on Kubernetes
body: <p>Does anyone have experience in building and pushing docker images + deploying them to AKS via Azure DevOps?</p>
  
  <p>When I build and push an image I can use the variable <code>$(Build.Repository.Name):$(Build.BuildId).</code> </p>
  
  <p>But then I have my <code>.yaml</code> files that I have in my release pipeline to deploy the images.  I cannot (or don't know how) to refer to that variable <code>$(Build.Repository.Name):$(Build.BuildId)</code>.</p>
  
  <p>Does anyone have experience in automating this?</p>