.nh .TH "glab" "1" "Mar 2025" "Auto generated by spf13/cobra" "" .SH NAME glab-repo-publish-catalog - [EXPERIMENTAL] Publishes CI/CD components to the catalog. .SH SYNOPSIS \fBglab repo publish catalog [flags]\fP .SH DESCRIPTION [EXPERIMENTAL] Publishes CI/CD components in the project to the CI/CD catalog using the provided tag name. .PP Requires the feature flag \fBci_release_cli_catalog_publish_option\fR to be enabled for this project in your GitLab instance. .PP Requires the same user as the release author. .IP \(bu 2 It retrieves components from the current repository by searching for \fByml\fR files within the "templates" directory and its subdirectories. .IP \(bu 2 It fails if the feature flag \fBci_release_cli_catalog_publish_option\fR is not enabled for this project in your GitLab instance. .PP Components can be defined: .IP \(bu 2 In single files ending in \fB\&.yml\fR for each component, like \fBtemplates/secret-detection.yml\fR\&. .IP \(bu 2 In subdirectories containing \fBtemplate.yml\fR files as entry points, for components that bundle together multiple related files. For example, \fBtemplates/secret-detection/template.yml\fR\&. .SH OPTIONS \fB-t\fP, \fB--tag\fP="" An existing tag that should be published. .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB--help\fP[=false] Show help for this command. .SH EXAMPLE .EX glab repo publish catalog v1.2.3 .EE .SH SEE ALSO \fBglab-repo-publish(1)\fP