fix: add CoreDNS api.riotpiao.com rewrite + fix runner Alpine base image #1

Merged
rock merged 14 commits from fix/api-gateway-and-runners into main 2026-09-07 05:19:40 +00:00
Showing only changes of commit fda701ca45 - Show all commits
+9 -5
View File
@@ -17,22 +17,27 @@ on:
jobs:
build-runners:
runs-on: node
runs-on: golang
env:
REGISTRY: forgejo.riotpiao.com
IMAGE_BASE: forgejo.riotpiao.com/rock
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Clone repository (base image, no Node.js required)
run: |
git clone --depth 1 https://forgejo.riotpiao.com/rock/homelab.git /workspace
cd /workspace
- name: Get short SHA
- name: Get commit SHA
id: sha
run: |
cd /workspace
SHORT_SHA=$(git rev-parse --short HEAD)
echo "short_sha=${SHORT_SHA}" >> $GITHUB_OUTPUT
echo "Got SHA: ${SHORT_SHA}"
- name: Build all runner images (test on PR, push on main)
run: |
cd /workspace
set -e
for RUNNER in golang rust node; do
echo "📦 Building ${RUNNER}-runner..."
@@ -54,7 +59,6 @@ jobs:
docker push "${IMAGE_BASE}/forgejo-runner-${RUNNER}:latest"
echo "✅ Pushed ${RUNNER}-runner"
done
echo "✅ All runner images pushed to registry"
env:
REGISTRY_USER: ${{ secrets.FORGEJO_REGISTRY_USER }}
REGISTRY_TOKEN: ${{ secrets.FORGEJO_REGISTRY_TOKEN }}