Using a docker hosted repository with deployment policy "Disable redeploy" and the checkbox to Allow redeploy only on 'latest' tag, redeploy fails if the image exists with another tag.
1. Deploy the image to the repo with latest tag
2. Verify that redeploying with latest tag works
3. Deploy the image again with tag test
4. Create a new latest tag based on the image with tag test
5. Redeploy with latest tag fails
Expected redeploy with latest tag to work.