Closed shinebayar-g closed 5 years ago
Hi, thanks for the report. The reason it doesn't work is that Harbor is using token authentication, and my script currently only supports HTTP Basic auth.
I'll try to look at adding token auth ASAP. I'll notify in this issue as soon as its implemented.
Thanks for the answer, I was really getting out of space. I deleted & uninstalled goharbor and started fresh today for now.
Hi, too bad you deleted it. I have a version ready now that can handle it. Do you have a backup by chance? Or any way to test it? I'd like it tested before making an official release :)
Wow that's nice! Unfortunately I didn't make any backup. I just wiped clean, because our CI/CD would just push new images again. Again unfortunately we're not doing much since its holidays.. So after wipe out I haven't much images to test it yet.
Hi, I have just released version 1.1.1 which should work with harbor. You can try it out as soon as your CI/build environment has overwritten a tag (eg. latest). I'll close this for now, but please try it out when you have time and comment here so I know if it worked. I set up harbor and tested it myself, and it seems to be working.
Best regards!
Hey there! @mortensteenrasmussen I'm finally able to test it right now. It works like a charm! On harbor 1.7.0 Thank you very much for this project! It's really useful! Just saved another bunch of space on my disk. :100:
Hi, I'm running Goharbor . It's running behind nginx reverse proxy with its own domain. Ex: reg.mydomain.com, it doesn't have basic auth, because goharbor has its own authentication method. Check its demo here. Right now I'm logged into my goharbor server and run the script like this:
Ofc it returns
Then I've tried like this:
Both didn't work. What should I do?
If I run the script directly to port 5000