GitHub Actions — Level by Level›Hands-on lab · Cheat sheet & self-check

Hands-on lab · wrap-up

Cheat sheet & self-check

Every command from this section on one page.

10 · Hands-on lab: Gitea Actions on your own Kubernetes

Get the lab

git clone https://github.com/infra-ops-lab/gitea-action-lab.gitClone the lab
./00-setup/register-runner.shRegister and deploy act_runner (prompts for the admin password)
kubectl -n gitea-actions get podsRunner pod should be 2/2 Running (runner + dind)

Workflows

cp 01-first-workflow/hello.yml <repo>/.github/workflows/Same file runs on Gitea and on GitHub
on: [workflow_dispatch]Run only when someone clicks Run workflow
git commit -m "docs: typo [skip ci]"Skip CI for one push