-
Is there anyway to access an internal repo by add an access token somewhere maybe? The case is, I have a self-hosted gitlab instance, and all the repos are setup as internal or private. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
If you need to use shields badges with private repos or services that are behind a corporate firewall, the most common solution to this is to self-host your own instance of shields and use that rather than shields.io. There are docs on how to do this at https://github.com/badges/shields/blob/master/doc/self-hosting.md |
Beta Was this translation helpful? Give feedback.
Then you should be able to set GitLab credentials using these config vars:
https://github.com/badges/shields/blob/master/doc/server-secrets.md#gitlab
Although do note that not 100% of GitLab badges currently work with auth
See #8768 (comment) for details