title: Azure Container Registry - delete all images except 2
body: <p>I want to delete all images in Azure Container Registry except the last two. I was looking for an script for do so but I only find to delete images older than X days. This is not possible for my situation because some days there are a lot of images created and other days only one.</p>
  
  <p>Somebody has any idea?</p>