Compare commits
5 Commits
fd10257f50
...
dde38ee64d
Author | SHA1 | Date | |
---|---|---|---|
|
dde38ee64d | ||
|
46127b8287 | ||
|
436867b27d | ||
|
298ed501d8 | ||
|
7f6d7f9100 |
22
README.md
22
README.md
@@ -6,15 +6,29 @@ Gitea Actions closely resemble GitHub Actions, to the point that several GitHub
|
|||||||
|
|
||||||
## How to test actions locally
|
## How to test actions locally
|
||||||
|
|
||||||
Download the latest version of the act runner for your architecture [here](https://dl.gitea.com/act_runner/)
|
- Clone this repository locally
|
||||||
|
|
||||||
Execute the act runner using the `exec` argument and specify the workflow file:
|
- Download the latest version of the act runner for your architecture [here](https://dl.gitea.com/act_runner/)
|
||||||
|
|
||||||
|
- Execute the act runner using the `exec` argument and specify the workflow file to be used:
|
||||||
|
|
||||||
```
|
```
|
||||||
./act_runner exec --workflows checkout.yml
|
./act_runner exec --workflows workflows/checkout.yml
|
||||||
|
```
|
||||||
|
```
|
||||||
|
INFO[0000] Using the only detected workflow event: push
|
||||||
|
INFO[0000] Planning jobs for event: push
|
||||||
|
INFO[0000] cache handler listens on: http://192.168.122.175:38917
|
||||||
|
INFO[0000] Start server on http://192.168.122.175:34567
|
||||||
|
[...]
|
||||||
|
[checkout/checkout] ⭐ Run Main https://git.phyllo.me/actions/checkout@v4
|
||||||
|
[checkout/checkout] 🐳 docker cp src=/home/lukas/test-actions/. dst=/home/lukas/test-actions
|
||||||
|
[checkout/checkout] ✅ Success - Main https://git.phyllo.me/actions/checkout@v4
|
||||||
|
[checkout/checkout] Cleaning up container for job checkout
|
||||||
|
[checkout/checkout] Cleaning up network for job checkout, and network name is: GITEA-ACTIONS-TASK-push_WORKFLOW-checkout_JOB-checkout-checkout-network
|
||||||
```
|
```
|
||||||
|
|
||||||
## How they are used in Phyllome OS
|
## How workflows are used in Phyllome OS
|
||||||
|
|
||||||
Several known actions repositories are mirrored within Phyllome's Gitea instance, under the [actions](https://git.phyllo.me/actions) organization.
|
Several known actions repositories are mirrored within Phyllome's Gitea instance, under the [actions](https://git.phyllo.me/actions) organization.
|
||||||
|
|
||||||
|
16
workflows/docker-in-docker.yml
Normal file
16
workflows/docker-in-docker.yml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
name: checkout
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
checkout:
|
||||||
|
runs-on: ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: git.phyllo.me/roots/fedora-iso-creation:42
|
||||||
|
steps:
|
||||||
|
- uses: https://git.phyllo.me/actions/checkout@v4
|
||||||
|
- name: Setup tmate session
|
||||||
|
- uses: https://github.com/mxschmitt/action-tmate@v3
|
15
workflows/fedora-checkout.yml
Normal file
15
workflows/fedora-checkout.yml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
name: checkout
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
checkout:
|
||||||
|
runs-on: fedora-iso-creation:42:docker://git.phyllo.me/roots/fedora-iso-creation:42
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: https://git.phyllo.me/actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
@@ -7,7 +7,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
echo-path:
|
echo-path:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: https://git.phyllo.me/actions/checkout@v4
|
- uses: https://git.phyllo.me/actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
@@ -7,7 +7,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: https://git.phyllo.me/actions/checkout@v4
|
- uses: https://git.phyllo.me/actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
Reference in New Issue
Block a user