Skip to content

k8scat/harbor_rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

harbor_rs

Harbor API Version: v1.10.0, v2.0 is coming soon.

Harbor API in Rust.

[dependencies]
harbor_rs = "0.1.3"

clean-image-tags

根据时间间隔清理 Harbor 上的镜像 Tag

harbor_base_api: "https://example.com/api"
harbor_username: "admin"
harbor_password": "admin"
clean_interval": 20 # 清理 20 天前构建的镜像
repos:
  - "test/image1"
  - "test/image2"

LICENSE

MIT