runner-images/.forgejo/workflows/base.yml
Snoweuph 5cf6af5816
Some checks failed
Build Runner Go / build_go (push) Blocked by required conditions
Build Runner Php / build_php (8.2) (push) Waiting to run
Build Runner Php / build_php (8.3) (push) Waiting to run
Build Runner Redot / build_redot (4.3) (push) Waiting to run
Build Runner Base / build_act (push) Failing after 2s
Build Runner csharp / build_csharp (6) (push) Failing after 4s
Build Runner csharp / build_csharp (8) (push) Failing after 5s
Build Runner Godot / build_godot (4.2.2) (push) Failing after 4s
Build Runner Java / build_java (17) (push) Failing after 5s
Build Runner Java / build_java (21) (push) Failing after 5s
Build Runner Java / build_java (8) (push) Failing after 5s
Build Runner JS / build_lua (latest) (push) Failing after 4s
Build Runner Lua / build_lua (5.1) (push) Failing after 4s
Build Runner Lua / build_lua (5.2) (push) Failing after 5s
Build Runner Lua / build_lua (5.4) (push) Failing after 5s
Build Runner Lua / build_lua (5.3) (push) Failing after 5s
Move Setup
2025-01-29 20:19:11 +01:00

54 lines
1.6 KiB
YAML

name: "Build Runner Base"
on:
schedule:
- cron: "0 0 * * *"
push:
branches:
- "master"
jobs:
build_act:
runs-on: "docker"
env:
DOCKER_HOST: tcp://docker:2376
steps:
- name: install docker
run: sudo apk add docker
- name: Wait for Docker daemon
run: |
timeout=300 # Set a timeout value in seconds
until docker info; do
echo "Waiting for Docker daemon to start..."
sleep 5
timeout=$((timeout-5))
if [ $timeout -le 0 ]; then
echo "Timeout waiting for Docker daemon to start."
exit 1
fi
done
- name: A
run: |
apk add net-tools
netstat -tuln
- name: Install Node
run: apk add nodejs
- name: Set up QEMU
uses: "https://git.euph.dev/actions/docker-setup-qemu@v3"
- name: Setup Buildx
uses: "https://git.euph.dev/actions/docker-setup-buildx@v3"
- name: Login to Registry
uses: "https://git.euph.dev/actions/docker-login@v3"
with:
registry: git.euph.dev
username: ${{ secrets.DEPLOY_USER }}
password: ${{ secrets.DEPLOY_SECRET }}
- name: Build and push act base image
id: build_act_base
uses: "https://git.euph.dev/actions/docker-build-push@v5"
with:
context: "{{defaultContext}}:images/actions/act"
push: true
tags: |
git.euph.dev/actions/runner-basic:latest
git.euph.dev/actions/runner-basic:${{ forgejo.run_number }}