CI job doesn't triggered for tag

Not entirely sure in your case, but I can say that I suffered a great amount of confusion over the fact that git tags and gitlab CI/CD runner tags are distinctly unique and totally unrelated entities despite their unfortunately identical terms. For example, $CI_COMMIT_TAG does not refer to git tags but rather CI tags within the gitlab runner ecosystem.