Skip to main content

Default template for PDM package

Project description

TagFinder

一个用于从各种镜像仓库中查找最新镜像标签的命令行工具。

安装

pip install -e .

使用方法

基本用法

# 使用默认参数(harbor.milvus.io, milvus/milvus, master-latest, amd64)
tagfinder get-tag

# 指定标签和架构
tagfinder get-tag --tag master-latest --arch amd64

# 简写形式
tagfinder get-tag -t master-latest -a amd64

使用不同的镜像仓库

# 使用Harbor仓库
tagfinder get-tag --registry harbor.milvus.io --repository milvus/milvus

# 使用Docker Hub
tagfinder get-tag --registry registry.hub.docker.com --repository username/repository

使用仓库配置

您可以为常用的镜像仓库和路径组合设置配置,以便更方便地使用:

# 添加仓库配置
tagfinder registry add docker-hub --registry registry.hub.docker.com --repository username/repository

# 使用仓库配置
tagfinder get-tag --profile docker-hub -t latest -a amd64
# 或使用简写形式
tagfinder get-tag -f docker-hub -t latest -a amd64

# 列出所有仓库配置
tagfinder registry list

# 删除仓库配置
tagfinder registry remove docker-hub

参数说明

get-tag 命令

  • --tag, -t: 短标签名称,默认为 "master-latest"
  • --arch, -a: 架构(如 amd64, arm64 等),默认为 "amd64"
  • --registry, -r: 镜像仓库地址,默认为 "harbor.milvus.io"
  • --repository, -p: 仓库路径(格式为 project/repo),默认为 "milvus/milvus"
  • --profile, -f: 使用预定义的仓库配置

registry 命令

  • add: 添加仓库配置
    • NAME: 配置名称
    • --registry, -r: 镜像仓库地址
    • --repository, -p: 仓库路径
  • remove: 删除仓库配置
    • NAME: 要删除的配置名称
  • list: 列出所有仓库配置

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tagfinder-0.1.5.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tagfinder-0.1.5-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file tagfinder-0.1.5.tar.gz.

File metadata

  • Download URL: tagfinder-0.1.5.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.22.3 CPython/3.13.2 Darwin/22.6.0

File hashes

Hashes for tagfinder-0.1.5.tar.gz
Algorithm Hash digest
SHA256 401d6d80ffa9ff5570b50dd6c17fb7783bc61b621b8dcb85f578b2fd4de7541e
MD5 0ac0f9ea36151f2457f34854ee39c497
BLAKE2b-256 a7a61d77147c965d05cc6503e35362cef0b298914be3a7bebc2787a9146ce5f8

See more details on using hashes here.

File details

Details for the file tagfinder-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: tagfinder-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.22.3 CPython/3.13.2 Darwin/22.6.0

File hashes

Hashes for tagfinder-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0b2fb2858fb7e15e7f4fee3d8d9d908247058a69ec78a5f7865310a2c64c59af
MD5 9f5dbd36fcad3e2949520d89538a2f8c
BLAKE2b-256 0e0d5f098a0c732a5a2b5f93aebefefd51c22a1edf61e6d4bf3ffef9ccb06020

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page