Tagged articles
2 articles
Page 1 of 1
Ops Development Stories
Ops Development Stories
Oct 20, 2021 · Operations

Automate Harbor Image Tag Cleanup with a Go CLI Script

This article explains how to create a Go‑based command‑line tool that queries Harbor projects and repositories, lists image tags, and automatically deletes older tags while retaining a configurable number of recent ones, streamlining storage management and avoiding manual page‑by‑page deletions.

CLIDevOpsGo
0 likes · 18 min read
Automate Harbor Image Tag Cleanup with a Go CLI Script