Updated on 2025-08-13 GMT+08:00

CreateTag

Create and push tags for code repositories.

Adding the Extension with GUI

Add the CreateTag extension when you orchestrate a pipeline. Set parameters as shown in Table 1.

Table 1 Parameter description

Parameter

Description

Name

Extension name, which can be customized.

  • Enter only letters, digits, hyphens (-), underscores (_), commas (,), semicolons (;), colons (:), periods (.), slashes (/), parentheses (), and spaces.
  • Enter 1 to 128 characters.

Tag Name

Tag name.

Repository

Select the corresponding code repository.

  • Click the toggle to enable Continue If Tag Exists. If the created tag exists in the code repository, no error is reported and the pipeline continues to run. Otherwise, the execution fails.

Adding the Extension with YAML

Add the CreateTag extension when you orchestrate a pipeline. Configure the YAML syntax as follows:

  • CreateTag
    uses: CreateTag
    with:
      tagName: v1
    • tagName: tag name.