gitea runner
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
2025-08-22 17:05:44 -03:00
parent ad5388ecda
commit c6149ac3e7
4 changed files with 39 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
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 }}."

1
.gitignore vendored
View File

@@ -12,3 +12,4 @@
!.gitignore !.gitignore
!monitoring/grafana/prometheus.yml !monitoring/grafana/prometheus.yml
!caddy/config/** !caddy/config/**
!.gitea/**

View File

@@ -42,6 +42,9 @@
@pdf host pdf.ccalifice.com @pdf host pdf.ccalifice.com
reverse_proxy @pdf http://192.168.1.202:8585 reverse_proxy @pdf http://192.168.1.202:8585
@loki host loki.ccalifice.com
reverse_proxy @loki http://192.168.1.202:3100
# @ariang host ariang.ccalifice.com # @ariang host ariang.ccalifice.com
# reverse_proxy @ariang http://192.168.1.202:6880 # reverse_proxy @ariang http://192.168.1.202:6880
} }

View File

@@ -38,3 +38,18 @@ services:
- gitea - gitea
volumes: volumes:
- ./postgres:/var/lib/postgresql/data - ./postgres:/var/lib/postgresql/data
runner:
image: docker.io/gitea/act_runner:nightly
environment:
CONFIG_FILE: /config.yaml
GITEA_INSTANCE_URL: http://gitea:3000
GITEA_RUNNER_REGISTRATION_TOKEN: "JjKRS66pgttENtYVVmhnT3TpfjVMfH7mIdEY19R3"
GITEA_RUNNER_NAME: "services-runner"
GITEA_RUNNER_LABELS: "${RUNNER_LABELS}"
volumes:
- ./runner/config.yaml:/config.yaml
- ./runner/data:/data
- /var/run/docker.sock:/var/run/docker.sock
networks:
- gitea