Add .gitea/workflows/build.yml
This commit is contained in:
parent
05d40e3bcb
commit
4610558e52
27
.gitea/workflows/build.yml
Normal file
27
.gitea/workflows/build.yml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
name: Build runner images
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: 59 23 */7 * *
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- '.github/workflows/build.yml'
|
||||||
|
branches:
|
||||||
|
- 'main'
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- '.github/workflows/build.yml'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-images:
|
||||||
|
name: Build Images
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Install Docker on host
|
||||||
|
run: |
|
||||||
|
apt update
|
||||||
|
apt upgrade -y
|
||||||
|
apt install docker.io docker-compose docker-compose-v2 python3-setuptools -y
|
||||||
|
dockerd &
|
||||||
|
-
|
Loading…
Reference in New Issue
Block a user