AT Container Registry Clean Up#
Deletes old io.atcr.tag and io.atcr.manifest records from your PDS. The atcr.io garbage collector will deference and free up storage space from there (not immediately).
Usage#
Requires ATPROTO_HANDLE and ATPROTO_APP_PASSWORD.
Important: not setting -repo means all repositories.
From source#
First, build it:
$ go build ./...
Then use it:
$ atcr-clean-up -days <N> [-repo <r1> -repo <r2> ...] [-dry-run] [-yes] [-keep <tag>] [-log-level <level>]
From container#
First pull it:
$ podman pull atcr.io/cuducos.me/atcr-clean-up:latest
Then use it:
$ podman run -it --rm --env ATPROTO_HANDLE=handle.or.did --env ATPROTO_APP_PASSWORD=password atcr.io/cuducos.me/atcr-clean-up -days <N>