Delete CNB artifact tag

artifact:remove-tag

Delete CNB product labels. Currently, only CNB docker and helm labels are supported for deletion. Repository write permission is required.

# 适用事件

  • push
  • tag_push
  • tag_deploy
  • pull_request.merged

# 参数

# name

  • type: String
  • required: true

artifact package name

# tags

  • type: Array<string>
  • required: true

# type

  • type: String
  • required: false
  • default: docker

artifact type, currently only supports docker and helm

# 配置样例

main:
  push:
    - stages:
        - name: remove tag
          type: artifact:remove-tag
          options:
            # package name
            # Package name example 1: Same product name as repository: reponame
            # Package name example 2: Product name different from repository: reponame/name
            name: reponame/name
            tags:
              - tag1
              - tag2
            type: docker