artifact tag
artifact tag create
Create a tag for 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: ✅
TAG
Name of the tag to create.
Type: text
Required: ✅
artifact tag delete
Delete a tag for 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: ✅
TAG
Name of the tag to delete.
Type: text
Required: ✅
Options
--force
Force deletion without confirmation.
Type: boolean
(flag)
Default: False
artifact tag list
List tags for 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
--query
<QUERY>
Query parameters to filter the results.
See harborapi docs for more information.
Type: text
--sort
<SORT>
Sorting order of the results. Example: 'name,-id'
to sort by name ascending and id descending.
Type: text
--page
<PAGE>
(Advanced) Page to begin fetching from.
Type: integer
Default: 1
--page-size
<PAGE_SIZE>
(Advanced) Results to fetch per API call.
Type: integer
Default: 10
--limit
<LIMIT>
Maximum number of results to fetch.
Type: integer