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: 列出所有仓库配置
Metadata
Release files for tagfinder 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tagfinder-0.1.7.tar.gz | 7.2 kB | Without provenance | Details for tagfinder-0.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tagfinder-0.1.7-py3-none-any.whl | Python 3 | none | any | Details for tagfinder-0.1.7-py3-none-any.whl |
Total release size: 15.3 kB
Release files / tagfinder-0.1.7.tar.gz
| Download URL | tagfinder-0.1.7.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e4cab0e2a6e73472980849dbecfd1bd7001011b90e0422aa6a753ab6dcc21ae
|
|
BLAKE2b-256 checksum How to use checksums |
5d890ec6a5140cbdde7296673b6a23f4192fe52ca997289aa63967909ef7f1ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.22.3 CPython/3.13.2 Darwin/22.6.0
|
Release files / tagfinder-0.1.7-py3-none-any.whl
| Download URL | tagfinder-0.1.7-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4e0759658679668e513b8a26922e2fffb40188eceaf32540b413927a7642cc0d
|
|
BLAKE2b-256 checksum How to use checksums |
f991911430f59f1c9f274313e0eda4f5dbd27f0db50d8704124d236d9a9a8d53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.22.3 CPython/3.13.2 Darwin/22.6.0
|
Security for tagfinder 0.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.