Add README.md
This commit is contained in:
12
README.md
Normal file
12
README.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# Gitea Docker registry prune
|
||||||
|
Prunes orphan images form Gitea's Docker registry, described at https://github.com/go-gitea/gitea/issues/21673
|
||||||
|
|
||||||
|
## Build
|
||||||
|
```sh
|
||||||
|
go build .
|
||||||
|
```
|
||||||
|
|
||||||
|
## Run
|
||||||
|
```sh
|
||||||
|
GITEA_URL=https://<url> GITEA_TOKEN=<token> ./gitea-docker-registry-prune
|
||||||
|
```
|
Reference in New Issue
Block a user