ChoseSoft

Automate. Optimize. Lead with Linux

Gitea Runners


If you use gitea as GIT repo you are able to start using a atomation as well as Act Runners.

First at your gitea server create new action runner.

And now you should run gitea Act runners. (you can do it in Linux host (virtual or physical) or docker). I have example to run directly at synology as docker project.

Both Gieta and Gitea Action runners run at synoogy HW.

You can see avail. runners in gitea now.

So create yaml with pipeline in .gitea/workflows folder. And you can run your pipeline like:

name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions ๐Ÿš€
on: [push]

jobs:
  Explore-Gitea-Actions:
    runs-on: ubuntu-latest
    steps:
      - run: echo "๐ŸŽ‰ The job was automatically triggered by a ${{ gitea.event_name }} event."
      - run: echo "๐Ÿง This job is now running on a ${{ runner.os }} server hosted by Gitea!"
      - run: echo "๐Ÿ”Ž The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
      - name: Check out repository code
        uses: actions/checkout@v4
      - run: echo "๐Ÿ’ก The ${{ gitea.repository }} repository has been cloned to the runner."
      - run: echo "๐Ÿ–ฅ๏ธ The workflow is now ready to test your code on the runner."
      - name: List files in the repository
        run: |
          ls ${{ gitea.workspace }}          
      - run: echo "๐Ÿ This job's status is ${{ job.status }}."