this post was submitted on 17 Feb 2025
38 points (91.3% liked)

Selfhosted

42974 readers
383 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hey everyone,

I just set up a self-hosted GitHub Actions runner in my homelab and wrote about it in my self-hosted blog! This is my second blog entry, so I would really appreciate any feedback or suggestions to help improve my writing is more than welcome.

You can check out the post here: https://cachaza.cc/blog/02-self-hosted-ci-cd

you are viewing a single comment's thread
view the rest of the comments
[–] ikidd@lemmy.world 1 points 1 week ago (1 children)

actions/setup-java@v4 would fail trying to find the java setup script at Forgejo's runner source repo, and apparently it wasn't there when I went to look. I'll look at it another time when maybe all the backend is put together or there's a way I can host the actions locally so I'm not relying on outside sources that might pollute my CI output.

[–] arcayne@lemmy.today 1 points 1 week ago* (last edited 1 week ago) (1 children)

With both Gitea and Forgejo, sometimes you need to hardcode the action URL, like:

https://github.com/actions/setup-java@v4
[–] ikidd@lemmy.world 1 points 1 week ago (1 children)

I followed where it was going and it was a forgejo repo where there were some action sets but not that one. I figured they were using their own sets and hadn't gotten around to java yet.

[–] arcayne@lemmy.today 1 points 1 week ago* (last edited 1 week ago) (1 children)

Well, yeah, thats why I'm saying if the action isn't available directly from Forgejo, just write out the full action URL like the example in my last comment and pull it directly from GitHub. Most/all of the actions you're pulling from Forgejo are originally forked from GitHub anyway. ¯\_(ツ)_/¯

[–] ikidd@lemmy.world 2 points 1 week ago

Ah, OK. Now I get your point.