[*] 更新runner
This commit is contained in:
parent
17bb95895e
commit
a32e34ee62
@ -1,19 +0,0 @@
|
|||||||
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 }}."
|
|
17
config.yaml
17
config.yaml
@ -43,14 +43,19 @@ runner:
|
|||||||
- "ubuntu-22.04:docker://docker.martin98.com/library/gitea/runner-images:ubuntu-22.04"
|
- "ubuntu-22.04:docker://docker.martin98.com/library/gitea/runner-images:ubuntu-22.04"
|
||||||
- "ubuntu-latest:docker://docker.martin98.com/library/gitea/runner-images:ubuntu-latest"
|
- "ubuntu-latest:docker://docker.martin98.com/library/gitea/runner-images:ubuntu-latest"
|
||||||
|
|
||||||
- "ubuntu-20.04-slim:docker://docker.martin98.com/library/gitea/runner-images:ubuntu-20.04-slim"
|
# - "ubuntu-20.04-slim:docker://docker.martin98.com/library/gitea/runner-images:ubuntu-20.04-slim"
|
||||||
- "ubuntu-22.04-slim:docker://docker.martin98.com/library/gitea/runner-images:ubuntu-22.04-slim"
|
# - "ubuntu-22.04-slim:docker://docker.martin98.com/library/gitea/runner-images:ubuntu-22.04-slim"
|
||||||
- "ubuntu-latest-slim:docker://docker.martin98.com/library/gitea/runner-images:ubuntu-latest-slim"
|
# - "ubuntu-latest-slim:docker://docker.martin98.com/library/gitea/runner-images:ubuntu-latest-slim"
|
||||||
|
|
||||||
|
|
||||||
- "ubuntu-20.04-full:docker://docker.martin98.com/library/gitea/runner-images:ubuntu-20.04-full"
|
# - "ubuntu-20.04-full:docker://docker.martin98.com/library/gitea/runner-images:ubuntu-20.04-full"
|
||||||
- "ubuntu-22.04-full:docker://docker.martin98.com/library/gitea/runner-images:ubuntu-22.04-full"
|
# - "ubuntu-22.04-full:docker://docker.martin98.com/library/gitea/runner-images:ubuntu-22.04-full"
|
||||||
- "ubuntu-latest-full:docker://docker.martin98.com/library/gitea/runner-images:ubuntu-latest-full"
|
# - "ubuntu-latest-full:docker://docker.martin98.com/library/gitea/runner-images:ubuntu-latest-full"
|
||||||
|
|
||||||
|
# 特有镜像(标记环境)
|
||||||
|
# - "canton:docker://docker.martin98.com/library/gitea/runner-images:ubuntu-latest"
|
||||||
|
# - "hk:docker://docker.martin98.com/library/gitea/runner-images:ubuntu-latest"
|
||||||
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
# 启用缓存服务器以使用 actions/cache。
|
# 启用缓存服务器以使用 actions/cache。
|
||||||
|
Loading…
x
Reference in New Issue
Block a user