I am using Gitlab CE and CI and am successfully building my code and building artifacts that I can download manually using my private access token, however, I would like to have another build that, for example, uses
curl and the GitLab API to pull down the latest build artifact.
Is there any way I can do this without needed to provide a private access token as a header in the
curl line? I feel like if the project is accessible and the proper permissions are set such that anybody is able to access the build artifacts, then no authentication should be required to access and download the build artifacts.
I know that I can circumvent the whole process by creating a dummy user that has access and using a private token from that dummy user as the header, but that seems like just a hacky work-around instead of a proper way to solve the problem.