Never use curly brackets in when, they are implied.
And since latest is a string use qoutes, if not latest will be treated as a variable, so this should work:
when: ImageTag == "latest"
Never use curly brackets in when, they are implied.
And since latest is a string use qoutes, if not latest will be treated as a variable, so this should work:
when: ImageTag == "latest"