From dbc14129fc1f8919076765ca753679476cdfc071 Mon Sep 17 00:00:00 2001 From: gianfi12 <10587213@polimi.it> Date: Sat, 9 May 2026 08:14:52 +0000 Subject: [PATCH 1/3] fix image act runner reference --- containers/act_runner/tasks.yml | 4 ++-- containers/act_runner/templates/configuration.yml.j2 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/containers/act_runner/tasks.yml b/containers/act_runner/tasks.yml index 0363f7a..3367e16 100644 --- a/containers/act_runner/tasks.yml +++ b/containers/act_runner/tasks.yml @@ -33,7 +33,7 @@ containers.podman.podman_image: name: docker.io/{{ item }} loop: - - gitea/act_runner:latest + - gitea/runner:1.0.0 - name: Change permission to act_runner folder become_user: root @@ -62,7 +62,7 @@ become: true containers.podman.podman_container: name: act_runner - image: gitea/act_runner:latest + image: docker.io/gitea/runner:1.0.0 state: present security_opt: # - label=type:container_runtime_t diff --git a/containers/act_runner/templates/configuration.yml.j2 b/containers/act_runner/templates/configuration.yml.j2 index 12a6e4e..ddc6d0b 100644 --- a/containers/act_runner/templates/configuration.yml.j2 +++ b/containers/act_runner/templates/configuration.yml.j2 @@ -1,7 +1,7 @@ # Example configuration file, it's safe to copy this as the default config file without any modification. # You don't have to copy this file to your instance, -# just run `./act_runner generate-config > config.yaml` to generate a config file. +# just run `./gitea-runner generate-config > config.yaml` to generate a config file. log: # The level of logging, can be trace, debug, info, warn, error, fatal -- 2.52.0 From dd7bf59586e3c7aaa60c8b2cc5f15899cc75acc6 Mon Sep 17 00:00:00 2001 From: gianfi12 <10587213@polimi.it> Date: Sat, 9 May 2026 23:57:18 +0000 Subject: [PATCH 2/3] fix runner versioning for autoupdate --- containers/act_runner/tasks.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/containers/act_runner/tasks.yml b/containers/act_runner/tasks.yml index 3367e16..d90a4b5 100644 --- a/containers/act_runner/tasks.yml +++ b/containers/act_runner/tasks.yml @@ -33,7 +33,7 @@ containers.podman.podman_image: name: docker.io/{{ item }} loop: - - gitea/runner:1.0.0 + - gitea/runner:latest - name: Change permission to act_runner folder become_user: root @@ -62,7 +62,7 @@ become: true containers.podman.podman_container: name: act_runner - image: docker.io/gitea/runner:1.0.0 + image: docker.io/gitea/runner:latest state: present security_opt: # - label=type:container_runtime_t @@ -75,6 +75,8 @@ - act_runner:/data:Z - /etc/act_runner:/config:Z - /run/user/{{ uid_containers.stdout }}/podman/podman.sock:/var/run/docker.sock:z + label: + io.containers.autoupdate: "registry" env: GITEA_INSTANCE_URL: "{{ vault_act_runner_host }}" GITEA_RUNNER_REGISTRATION_TOKEN: "{{ vault_act_runner_token }}" -- 2.52.0 From 5791cdff50293fea68200aaeb42b9cb0a081d064 Mon Sep 17 00:00:00 2001 From: gianfi12 <10587213@polimi.it> Date: Sun, 10 May 2026 08:16:48 +0000 Subject: [PATCH 3/3] updated auto-update policy --- containers/act_runner/tasks.yml | 2 +- containers/gitea/tasks.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/containers/act_runner/tasks.yml b/containers/act_runner/tasks.yml index d90a4b5..e625b57 100644 --- a/containers/act_runner/tasks.yml +++ b/containers/act_runner/tasks.yml @@ -76,7 +76,7 @@ - /etc/act_runner:/config:Z - /run/user/{{ uid_containers.stdout }}/podman/podman.sock:/var/run/docker.sock:z label: - io.containers.autoupdate: "registry" + io.containers.autoupdate: "local" env: GITEA_INSTANCE_URL: "{{ vault_act_runner_host }}" GITEA_RUNNER_REGISTRATION_TOKEN: "{{ vault_act_runner_token }}" diff --git a/containers/gitea/tasks.yml b/containers/gitea/tasks.yml index a86fe94..f32313e 100644 --- a/containers/gitea/tasks.yml +++ b/containers/gitea/tasks.yml @@ -109,7 +109,7 @@ - gitea:/data:Z - /etc/localtime:/etc/localtime:ro label: - io.containers.autoupdate: "registry" + io.containers.autoupdate: "local" traefik.enable: "true" traefik.http.routers.gitea.entrypoints: "https" traefik.http.routers.gitea.rule: "Host(`{{ vault_domain }}`) && (PathPrefix(`/git/`) || Path(`/git`))" -- 2.52.0