Comment on what do y'all use for CI/CD?
scrubbles@poptalk.scrubbles.tech 2 days agoForgejo runners are great! I found some simple actions to do docker in docker and now build all my images with them!
Comment on what do y'all use for CI/CD?
scrubbles@poptalk.scrubbles.tech 2 days agoForgejo runners are great! I found some simple actions to do docker in docker and now build all my images with them!
felbane@lemmy.world 1 day ago
please share, I’m interested in doing the same
scrubbles@poptalk.scrubbles.tech 1 day ago
Sure! I use Kaniko (Although I see now that it’s not maintained anymore). I’ll probably pull the image in locally to protect it…
Kaniko does the Docker in Docker, and I found an action that I use, but it looks like that was taken down… Luckily I archived it! Make an action in Forgejo (I have an
infrastructuregroup that I add public repos to for actions. So this one is calledaction-koniko-buildand all it has is thisaction.ymlfile in it:Then, you can use it directly like:
I run my runners in Kubernetes in the same cluster as my forgejo instance, so this all hooks up pretty easy. Lmk if you want to see that at all if it’s relevant. The big thing is that you’ll need to have them be Privileged, and there’s some complicated stuff where you need to run both the runner and the “dind” container together.
felbane@lemmy.world 1 day ago
Thanks for the write-up! I’ve been trying and failing to do DOOD and POOP runners via forgejo, but I haven’t had the time or energy to really dig in and figure out the issue. At this point I just want something to work so I’ll give your setup a try 😎
scrubbles@poptalk.scrubbles.tech 1 day ago
Of course! Let me know how you run your containers and I may be able to help on that side too