Some noob questions

Hi!

I’ve used drone for my CI needs so far and am also pretty familiar with gitlab CI, but completely new to how github actions work. I now tried to set up gitea actions (since imho a native option feels a bit superior).

My first question regarding this set up (I used the AUR package and installed it on an archlinux machine baremetal):

Why are the ubuntu “environments” with the ubuntu images the default environments? Is there a specific reason for this or is it just there as an example? In the docs, the “ubuntu” environments are filled up with node-16 images (running debian) so this is confusing as well, why calling it ubuntu, when it is actually a node image and not related to ubuntu at all?

I kinda skipped this (and left it at its default), since I figured that I can configure this when I need it.
I now tried to set up the demo workflow in Quick Start | Gitea Documentation.

Running this, I got the “Cannot find: node in PATH” error. I saw here in an adjacent post that I can fix this by switching out the image of ubuntu-latest (as mentioned above). But this confuses me, since the checkout action explicitly references runs.using: node20. Is this ignored?

My original goal was setting up a workflow that 1. checks out my code and 2. uses a custom docker image to run a shell script in it that builds,tests and deploys my sources. I wanted to separate this build/test/deploy step into its own action. Since github tells me I can use runs.using with "docker" and runs.image with "Dockerfile", I want to use this, since this allows me to easily update the action if I need it (no manual docker build, push, tagging, etc necessary (?)). Is this possible if runs.using is seemingly ignored?

I’m sorry for the basic questions but I find github actions and giteas implementation to be deeply confusing.

Regards, mqus :slight_smile: