Compare commits

...

4 Commits

Author SHA1 Message Date
1299ed3b97 New docker compose with the gitea runner
Some checks are pending
Actions demo / simple-echo (push) Waiting to run
2024-08-16 16:39:05 -07:00
6cdac60353 fixing path 2024-08-05 21:34:37 -07:00
5e748be5f0 retrigger demo 2024-08-05 21:07:38 -07:00
b5b73a9cf0 testing gitea workflow 2024-08-05 20:04:06 -07:00
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,21 @@
name: Actions demo
run-name: ${{ gitea.actor }} is testing the actions
on:
- push
jobs:
simple-echo:
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 }}."

View File

@ -20,3 +20,21 @@ services:
ports: ports:
- "3000:3000" - "3000:3000"
- "2222:22" - "2222:22"
gitea-runner:
image: gitea/act_runner:nightly
container_name: gitea-runner
restart: always
networks:
- gitea
volumes:
- /opt/containers/gitea_runner/
- /var/run/docker.sock:/var/run/docker.sock
environment:
- GITEA_INSTANCE_URL=https://git.shockrah.xyz
- GITEA_RUNNER_NAME=gitea-main
- GITEA_RUNNER_LABELS=gitea-main
- GITEA_RUNNER_REGISTRATION_TOKEN=${token}