Closed necrogami closed 1 year ago
Hey @necrogami
We have other services which use a different registry, such as MsSql or Soketi, for instance, with their own implementation of the DockerTags
class. Are those useful to you?
I'm closing the issue as I think those should serve as references, but pls feel free to reopen it if you think those are not very helpful in your situation.
Any suggestions for the tagslist class? As to get the tags list it requires a github token:
You may be able to add a GitHub Token field as a prompt. Then, you could override the service's prompts()
method to pass the token to the custom DockerTags
class somehow (not sure how that would work). Let me know if that doesn't work and I'll take a look at how we could change it to make it work (open to suggestions as well).
Currently this only handles docker hub images, while working on a potential pr for singlestore i ran into some issues since this container is not on docker hub.
The first wall i ran into is from
DockerTags.php
as it assumes docker hub registry, I can add an option to the function to be able to handle ghcr.io containers however to pull the tags list from github requires a github token. Do you have any ideas on how you want this handled?