Refactor Gitea runner configurations: remove obsolete runners, add container name resolution, and implement stale container cleanup

This commit is contained in:
2026-07-07 20:50:48 +02:00
parent c1c2d1c83b
commit 86decddcd1
3 changed files with 92 additions and 31 deletions
@@ -361,7 +361,8 @@
-e "GITEA_RUNNER_REGISTRATION_TOKEN={{ windows_gitea_runner_podman_registration_token }}" `
-e "GITEA_RUNNER_NAME={{ __windows_gitea_runner_podman_name }}" `
-e "GITEA_RUNNER_LABELS={{ __windows_gitea_runner_podman_labels }}" `
{% if __windows_gitea_runner_podman_enable_nested_build %}
-e "GITEA_RUNNER_USER=runner" `
{% if __windows_gitea_runner_podman_enable_nested_build %}
-v "{{ __windows_gitea_runner_podman_storage_dir }}:/var/lib/containers" `
-e "BUILDAH_ISOLATION=chroot" `
-e "STORAGE_DRIVER=vfs" `