Metadata

# What is Metadata?

Metadata is the data storage capability provided by the repository. Currently, it supports storing metadata for Tags and Commits, representing annotations for Tags or Commits.

# Storage Format

Metadata is stored in the format of key: value.

Taking the metadata for Tag v1.0.0 as an example, the metadata supports storage in the key: value format, as shown below:

key1: value1
key2: value2
# ...

# How to View Metadata?

Path to view metadata on the page:

  • Tag Metadata: Repository > Tag or Release List > Tag or Release Details > Metadata (not displayed when there is no metadata)
  • Commit Metadata: Repository > Commit List > Commit Details > Metadata

Currently, the page only supports viewing metadata and does not support adding, modifying, or deleting metadata.

# How to Manipulate Metadata?

You can manipulate metadata by using plugins in the cloud-native build pipeline to add, delete, or query metadata.

Refer to the Metadata Plugin for more details.