Open thdesy opened 3 years ago
Are you using Singularity Registry server, or the sregistry client (which is at https://github.com/singularityhub/sregistry-cli). They are different. You should look at the gitlab section in there and open a PR if there is a bug. And if [4] works, why not just use that?
Hi,
I have attached sregistry to our local gitlab instance and can browse my build artifacts [1]. However, pulling an image file from the artifacts fails with [2]. As far as I see, the problem is, that the clients tries to read a .simg, while I had been building sif's with Singularity 3. I already tried to change the name accordingly [3] but without success. Requesting the file works in principle [4].
Unfortunately, I did not find the API definitions, so that I could try to patch the request.
Cheers and thanks, Thomas
[1]
[2]
[3]
[4]
curl -L -s --header "PRIVATE-TOKEN: ${SREGISTRY_GITLAB_TOKEN}" "https://gitlab.desy.de/api/v4/projects/588/jobs/14300/artifacts/build/Singularity.sif" -o /tmp/foo.sif