Skip to content

artifact label

artifact label add

artifact label add <ARTIFACT> [OPTIONS]

Add a label to an artifact.

Arguments

ARTIFACT
Name of the artifact in the format 'PROJECT/REPOSITORY{:tag,@sha256:digest}'. Example: 'library/nginx:latest' or 'library/nginx@sha256:1234'.
Type: text
Required:

Options

--name <NAME>
Name of the label.
Type: text

--description <DESCRIPTION>
Description of the label.
Type: text

--color <COLOR>
Label color.
Type: text

--scope <SCOPE>
Scope of the label.
Type: text


artifact label delete

artifact label delete <ARTIFACT> <LABEL_ID> [OPTIONS]

Remove a label from an artifact.

Arguments

ARTIFACT
Name of the artifact in the format 'PROJECT/REPOSITORY{:tag,@sha256:digest}'. Example: 'library/nginx:latest' or 'library/nginx@sha256:1234'.
Type: text
Required:

LABEL_ID
ID of the label to delete.
Type: integer
Required:

Options

--force
Force deletion without confirmation.
Type: boolean (flag)
Default: False