38

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 2 years ago

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 2 years ago* (last edited 2 years ago)

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 2 years ago

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 2 years ago* (last edited 2 years ago)

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 2 years ago

Ah, OK. Now I get your point.

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

Selfhosted

62781 readers
816 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS