Sign inSign up

iso188/harbor-gc

By iso188

•Updated almost 4 years ago

Harbor registry garbage collector using Node.JS and Puppeteer

Image
0

240

iso188/harbor-gc repository overview

⁠Harbor Garbage Collector Triggerer

Triggers Harbor registry garbage collection using Node.JS and Puppeteer

⁠Building and Running

Before running, set the following in environment variables:

  • HARBOR_URL: Url of your Harbor server
  • USERNAME: admin user name
  • PASSWORD: Admin password
  • IGNORE_HTTPS_ERRORS: Optional variable for ignoring HTTPS certificate errors. It can be used in case of using a self-signed certificate. <true|false>

To build the image run

docker build -t harbor-gc .

After that run the image by

docker run -e "HARBOR_URL=<URL>" -e "USERNAME=<username>" -e "PASSWORD=<password>" -e "IGNORE_HTTPS_ERRORS=<true|false>" iso188/harbor-gc

Source code available at https://github.com/isogit123/harbor-gc⁠

Tag summary

Content type

Image

Digest

sha256:831ea25e4…

Size

180.7 MB

Last updated

almost 4 years ago

docker pull iso188/harbor-gc