CI: tag containers in a meaningful way (Fixes #40345).
If there was a push to main
, build a container with the tag latest. If there was a tag pushed, then build a container with the container tag set to the git tag, additionally setting a
stable` tag that matches.