I would like to get the build badge image on my project from Gitlab CI. I know the url (documentation) :
http://example.gitlab.com/namespace/project/badges/branch/build.svg
But my project is a private project, and the link require authentification and I don't know how to be authenticated with this url. Thank you for your help.
Your project/repository's README.md
should be able to show your badge as it's already in an authenticated session with your/the Gitlab server. If your trying to show the badge on a different, non-Gitlab page on the same server, you could symlink the build.svg to a location in your www root and ensure that your other webserver to follow symlinks.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With