DIAGNijmegen / rse-gcapi

Python client for the grand-challenge.org API
Apache License 2.0
2 stars 3 forks source link

Feature request: Upload of docker algorithm images through gcapi #146

Closed silvandeleemput closed 1 year ago

silvandeleemput commented 1 year ago

The issue

Currently, I am having trouble letting GC automatically build some of the algorithms from the Dockerfiles in the repositories that I have linked to my algorithms. I like that when I tag my algorithms while iterating on them that they get built and automatically get deployed to GC. However, I encounter various issues regarding the builds:

Feature request

I think while some of the independent issues can be solved, it might be a better solution to also allow uploading algorithm container images through gcapi. This would allow algorithm maintainers to build the containers themselves and upload the resulting artifacts using a CI setup.

I would like to discuss if this is desirable/feasible. If it is, I can probably spend some time realizing this feature.

jmsmkn commented 1 year ago

This would require exposing Algorithm Image REST API endpoints. We want to change those soon and adding them now would make that more difficult, so let's not do this right now. Buildkit can be enabled if absolutely necessary. Not interested in adding support for private Docker repositories.