Rules are like side wheels, there to help you learn.
https://static.klipy.com/ii/4e7bea9f7a3371424e6c16ebc93252fe/06/45/GjgsPb0cWvwV7q.gif
Rules are like side wheels, there to help you learn.
https://static.klipy.com/ii/4e7bea9f7a3371424e6c16ebc93252fe/06/45/GjgsPb0cWvwV7q.gif
2 points on CI/CD question: How do you actually deploy a self-hosted web app that runs in docker (preferably using Forgejo actions)? in !selfhosted@lemmy.world ·
Not much experience with Forgejo, but for the docker compose part, you can just ssh to the host machine. Guess you’re just depending on :latest for your app, otherwise it won’t work (unless you generate your compose file). The whole script can reside in the pipeline, or in a separate repo on the host, whatever is easier.
Use key auth for ssh and run the whole thing under a non root user that’s part of the docker group. Beware the permissions inside the Web app container too.