added Gitea runner image
CI / Build Gitea runner docker images (push) Failing after 13s

This commit is contained in:
2026-06-15 21:59:33 +08:00
parent dbbb616dbe
commit b60fa213fb
2 changed files with 40 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
name: CI
on:
push:
branches: [ master ]
paths:
- 'gitea-runner/*'
- '.gitea/workflows/build-gitea-runner.yaml'
jobs:
"Build Gitea runner docker images":
runs-on: woryzen
steps:
-
name: Login to Gitea container registry
uses: docker/login-action@v3
with:
registry: gitea.woggioni.net
username: woggioni
password: ${{ secrets.PUBLISHER_TOKEN }}
-
name: Build and push synapse images
uses: docker/build-push-action@v6
with:
builder: multiplatform-builder
context: "{{defaultContext}}:gitea-runner"
platforms: |
linux/amd64
linux/arm64
push: true
pull: true
tags: |
"gitea.woggioni.net/woggioni/gitea-runner:latest"
+8
View File
@@ -0,0 +1,8 @@
FROM alpine:3.24 AS base
RUN mkdir /var/lib/gitea
RUN deluser nobody
RUN adduser gitea -h /var/lib/gitea -D -u 65534
RUN --mount=type=cache,target=/var/cache/apk apk update
RUN --mount=type=cache,target=/var/cache/apk apk add gitea-runner nodejs docker
USER nobody
CMD ["/usr/bin/gitea-runner", "daemon", "--config", "/var/lib/gitea/runner.yaml"]