CI: fix `latest` container image tag.
According to what the comment reads, the image tag should be set to latest
if
the commit is to main. However, the code is setting it to nightly
, which I
believe is incorrect. This commit changes it to latest
.
I've also taken the chance to clarify the comment so it is clear about the word
tag
which is used for both git and for container images.