Checkout configuration in declarative multi branch pipeline

If you are using a Gitea Organization Folder, then you can add the additional clone behavior that will fetch tags.

My screen looks like this: