fix(gitea-runner): use act-compatible images with Docker support
Update Gitea Actions runner to use catthehacker/ubuntu images which are specifically designed for GitHub Actions/Gitea Actions and include Docker CLI and common tools pre-installed. Changes: - Replace node:20-bullseye labels with catthehacker/ubuntu:act-latest - Add ubuntu-22.04 label pointing to act-22.04 image - Configure DOCKER_* environment variables to be passed to jobs These images are the standard for act (local GitHub Actions runner) and Gitea Actions, providing better compatibility with workflows that need Docker access. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
6d280f6773
commit
a673a1c40b
@ -43,7 +43,13 @@ spec:
|
|||||||
- name: GITEA_RUNNER_NAME
|
- name: GITEA_RUNNER_NAME
|
||||||
value: "kubernetes-runner"
|
value: "kubernetes-runner"
|
||||||
- name: GITEA_RUNNER_LABELS
|
- name: GITEA_RUNNER_LABELS
|
||||||
value: "ubuntu-latest:docker://node:20-bullseye,ubuntu-22.04:docker://node:20-bullseye"
|
value: "ubuntu-latest:docker://catthehacker/ubuntu:act-latest,ubuntu-22.04:docker://catthehacker/ubuntu:act-22.04"
|
||||||
|
- name: GITEA_RUNNER_ENV_DOCKER_HOST
|
||||||
|
value: tcp://localhost:2376
|
||||||
|
- name: GITEA_RUNNER_ENV_DOCKER_CERT_PATH
|
||||||
|
value: /certs/client
|
||||||
|
- name: GITEA_RUNNER_ENV_DOCKER_TLS_VERIFY
|
||||||
|
value: "1"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: docker-certs
|
- name: docker-certs
|
||||||
mountPath: /certs
|
mountPath: /certs
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user