How to allow push for authenticated user, but pull for anonymous/everybody?
-
Hi there,
How to allow push for authenticated user, but pull for anonymous/everybody?
I would like to have a public available image pull repository of Docker Images.
Pushing new Docker images or updating Docker images should only possible for authenticated users.Does somebody know how to achieve this?
Thanks!
Mike
PS: This is first part of implementing the idea in this post
-
I don't think this is easily doable with the default registry app on Cloudron. But it can still be achieved with other apps available on Cloudron.
I would use the Gitea app as a base. You can tie this app to the Cloudron auth and allow container uploads for a certain user. Within the repo of choice you can then do a public pull. The added benefit is that you can use Gitea actions to build apps in the first place.
-
I don't think this is easily doable with the default registry app on Cloudron. But it can still be achieved with other apps available on Cloudron.
I would use the Gitea app as a base. You can tie this app to the Cloudron auth and allow container uploads for a certain user. Within the repo of choice you can then do a public pull. The added benefit is that you can use Gitea actions to build apps in the first place.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login