In the world of modern (?) multi-branch pipelines, building tags works as follows.
Add the "behaviour" to discover tags:
Use plugin Basic Branch Build Strategies to add a "build strategy" for tags:
Don't forget to add a build strategy for branches as well; the plugin disables the defaults completely!