From 50e05090077865dad24bfd6dfc3c256e1a69e260 Mon Sep 17 00:00:00 2001 From: ChristopherHX Date: Thu, 9 Oct 2025 07:16:56 +0000 Subject: [PATCH 1/8] Do not implicitly mount /var/run/docker.sock (#751) * podman creates an folder * dind sees a folder and fails Was adding the mount a mistake?, a feature with side effects? Closes https://gitea.com/gitea/act_runner/issues/750 Reviewed-on: https://gitea.com/gitea/act_runner/pulls/751 Reviewed-by: Jason Song Co-authored-by: ChristopherHX Co-committed-by: ChristopherHX --- Dockerfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 209ce7d6..e8861c72 100644 --- a/Dockerfile +++ b/Dockerfile @@ -59,8 +59,6 @@ RUN apk add --no-cache tini bash git tzdata COPY --from=builder /opt/src/act_runner/act_runner /usr/local/bin/act_runner COPY scripts/run.sh /usr/local/bin/run.sh -VOLUME /var/run/docker.sock - VOLUME /data ENTRYPOINT ["/sbin/tini","--","run.sh"] From 47caafd03717819c72a8b73354c0712ebd917b2f Mon Sep 17 00:00:00 2001 From: Zettat123 Date: Tue, 14 Oct 2025 03:32:35 +0000 Subject: [PATCH 2/8] Bump gitea/act (#753) Related to https://gitea.com/gitea/act/pulls/123 Reviewed-on: https://gitea.com/gitea/act_runner/pulls/753 Reviewed-by: Lunny Xiao Co-authored-by: Zettat123 Co-committed-by: Zettat123 --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index bb78aae0..30844a11 100644 --- a/go.mod +++ b/go.mod @@ -98,6 +98,6 @@ require ( gopkg.in/yaml.v2 v2.4.0 // indirect ) -replace github.com/nektos/act => gitea.com/gitea/act v0.261.7 +replace github.com/nektos/act => gitea.com/gitea/act v0.261.7-0.20251014023709-34f68b3c18f5 replace github.com/go-git/go-git/v5 => github.com/go-git/go-git/v5 v5.16.2 diff --git a/go.sum b/go.sum index b7e73164..10ad5cbb 100644 --- a/go.sum +++ b/go.sum @@ -6,8 +6,8 @@ connectrpc.com/connect v1.16.2 h1:ybd6y+ls7GOlb7Bh5C8+ghA6SvCBajHwxssO2CGFjqE= connectrpc.com/connect v1.16.2/go.mod h1:n2kgwskMHXC+lVqb18wngEpF95ldBHXjZYJussz5FRc= dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk= dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= -gitea.com/gitea/act v0.261.7 h1:0tX0EdWo5uZUgsN/iJGyEAtagqYURrbOuWxyx+LV1Wk= -gitea.com/gitea/act v0.261.7/go.mod h1:Pg5C9kQY1CEA3QjthjhlrqOC/QOT5NyWNjOjRHw23Ok= +gitea.com/gitea/act v0.261.7-0.20251014023709-34f68b3c18f5 h1:RpiGhyEmMeCO6qyfVIg2v8err9o8iQ+a1AKg9JV7Ilw= +gitea.com/gitea/act v0.261.7-0.20251014023709-34f68b3c18f5/go.mod h1:Pg5C9kQY1CEA3QjthjhlrqOC/QOT5NyWNjOjRHw23Ok= github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 h1:bvDV9vkmnHYOMsOr4WLk+Vo07yKIzd94sVoIqshQ4bU= github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24/go.mod h1:8o94RPi1/7XTJvwPpRSzSUedZrtlirdB3r9Z20bi2f8= github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 h1:L/gRVlceqvL25UVaW/CKtUDjefjrs0SPonmDGUVOYP0= From 3b11bac2ad744fd8709726fef2248d1e171d8b88 Mon Sep 17 00:00:00 2001 From: WANG Xuerui Date: Tue, 21 Oct 2025 17:42:08 +0000 Subject: [PATCH 3/8] ci: release binary for linux/loong64 (#756) Signed-off-by: WANG Xuerui Reviewed-on: https://gitea.com/gitea/act_runner/pulls/756 Reviewed-by: Lunny Xiao Co-authored-by: WANG Xuerui Co-committed-by: WANG Xuerui --- .goreleaser.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 94b042d5..4d06f658 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -16,6 +16,7 @@ builds: - amd64 - arm - arm64 + - loong64 - s390x - riscv64 goarm: From 96b866a3a87168255e81e855ff9bbd1a7f2aa567 Mon Sep 17 00:00:00 2001 From: Akkuman Date: Tue, 18 Nov 2025 07:18:38 +0000 Subject: [PATCH 4/8] chore: update config.example.yaml for https://gitea.com/gitea/act_runner/pulls/724 (#763) for pr https://gitea.com/gitea/act_runner/pulls/724 Reviewed-on: https://gitea.com/gitea/act_runner/pulls/763 Reviewed-by: ChristopherHX Co-authored-by: Akkuman Co-committed-by: Akkuman --- internal/pkg/config/config.example.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/pkg/config/config.example.yaml b/internal/pkg/config/config.example.yaml index 8fe4448d..c604d86d 100644 --- a/internal/pkg/config/config.example.yaml +++ b/internal/pkg/config/config.example.yaml @@ -44,8 +44,8 @@ runner: # If it's empty when execute `daemon`, will use labels in `.runner` file. labels: - "ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest" + - "ubuntu-24.04:docker://docker.gitea.com/runner-images:ubuntu-24.04" - "ubuntu-22.04:docker://docker.gitea.com/runner-images:ubuntu-22.04" - - "ubuntu-20.04:docker://docker.gitea.com/runner-images:ubuntu-20.04" cache: # Enable cache server to use actions/cache. From dc38bf1895efd158ae86f99f2653f383833458f6 Mon Sep 17 00:00:00 2001 From: DavidToneian Date: Wed, 19 Nov 2025 18:16:08 +0000 Subject: [PATCH 5/8] Fix URL to documentation of runner images (#765) The previous URL, `https://gitea.com/docker.gitea.com/runner-images`, leads to a 404 currently. Reviewed-on: https://gitea.com/gitea/act_runner/pulls/765 Reviewed-by: techknowlogick Co-authored-by: DavidToneian Co-committed-by: DavidToneian --- internal/pkg/config/config.example.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/pkg/config/config.example.yaml b/internal/pkg/config/config.example.yaml index c604d86d..d20f53d5 100644 --- a/internal/pkg/config/config.example.yaml +++ b/internal/pkg/config/config.example.yaml @@ -39,7 +39,7 @@ runner: github_mirror: '' # The labels of a runner are used to determine which jobs the runner can run, and how to run them. # Like: "macos-arm64:host" or "ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest" - # Find more images provided by Gitea at https://gitea.com/docker.gitea.com/runner-images . + # Find more images provided by Gitea at https://gitea.com/gitea/runner-images . # If it's empty when registering, it will ask for inputting labels. # If it's empty when execute `daemon`, will use labels in `.runner` file. labels: From 823e9489d6b7d2027bc8647de0c60dca42ff023d Mon Sep 17 00:00:00 2001 From: DavidToneian Date: Wed, 19 Nov 2025 18:16:45 +0000 Subject: [PATCH 6/8] Fix some typos in internal/pkg/config/config.example.yaml (#764) Reviewed-on: https://gitea.com/gitea/act_runner/pulls/764 Reviewed-by: techknowlogick Co-authored-by: DavidToneian Co-committed-by: DavidToneian --- internal/pkg/config/config.example.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/pkg/config/config.example.yaml b/internal/pkg/config/config.example.yaml index d20f53d5..4d21ef58 100644 --- a/internal/pkg/config/config.example.yaml +++ b/internal/pkg/config/config.example.yaml @@ -21,7 +21,7 @@ runner: env_file: .env # The timeout for a job to be finished. # Please note that the Gitea instance also has a timeout (3h by default) for the job. - # So the job could be stopped by the Gitea instance if it's timeout is shorter than this. + # So the job could be stopped by the Gitea instance if its timeout is shorter than this. timeout: 3h # The timeout for the runner to wait for running jobs to finish when shutting down. # Any running jobs that haven't finished after this timeout will be cancelled. @@ -72,7 +72,7 @@ container: network: "" # Whether to use privileged mode or not when launching task containers (privileged mode is required for Docker-in-Docker). privileged: false - # And other options to be used when the container is started (eg, --add-host=my.gitea.url:host-gateway). + # Any other options to be used when the container is started (e.g., --add-host=my.gitea.url:host-gateway). options: # The parent directory of a job's working directory. # NOTE: There is no need to add the first '/' of the path as act_runner will add it automatically. @@ -90,7 +90,7 @@ container: # valid_volumes: # - '**' valid_volumes: [] - # overrides the docker client host with the specified one. + # Overrides the docker client host with the specified one. # If it's empty, act_runner will find an available docker host automatically. # If it's "-", act_runner will find an available docker host automatically, but the docker host won't be mounted to the job containers and service containers. # If it's not empty or "-", the specified docker host will be used. An error will be returned if it doesn't work. From 774f316c8b85b8123bc9ea388243c6f0f4167e1a Mon Sep 17 00:00:00 2001 From: "Max P." Date: Tue, 25 Nov 2025 14:40:27 +0000 Subject: [PATCH 7/8] fix(dockerfile): Pin docker dind images to version 28, as version 29 has breaking changes in the API that are currently causing problems with the `act` fork of Gitea (#769) The effect probably does not **yet** occur in the published versions because the last publication took place before the release of Docker v29. Therefore, no one should expect version 29 of Docker to be used, so there are basically no side effects. --- fix #768 Reviewed-on: https://gitea.com/gitea/act_runner/pulls/769 Reviewed-by: techknowlogick Co-authored-by: Max P. Co-committed-by: Max P. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e8861c72..40e2d660 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ RUN make clean && make build ### DIND VARIANT # # -FROM docker:dind AS dind +FROM docker:28-dind AS dind RUN apk add --no-cache s6 bash git tzdata @@ -32,7 +32,7 @@ ENTRYPOINT ["s6-svscan","/etc/s6"] ### DIND-ROOTLESS VARIANT # # -FROM docker:dind-rootless AS dind-rootless +FROM docker:28-dind-rootless AS dind-rootless USER root RUN apk add --no-cache s6 bash git tzdata From e6dbe2a1caacb7888836ee3977ae9e2c5cbf2a1e Mon Sep 17 00:00:00 2001 From: Zettat123 Date: Tue, 2 Dec 2025 22:38:31 +0000 Subject: [PATCH 8/8] Bump gitea/act (#770) Related to https://gitea.com/gitea/act/pulls/145 Reviewed-on: https://gitea.com/gitea/act_runner/pulls/770 Reviewed-by: Lunny Xiao Co-authored-by: Zettat123 Co-committed-by: Zettat123 --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 30844a11..0233784e 100644 --- a/go.mod +++ b/go.mod @@ -98,6 +98,6 @@ require ( gopkg.in/yaml.v2 v2.4.0 // indirect ) -replace github.com/nektos/act => gitea.com/gitea/act v0.261.7-0.20251014023709-34f68b3c18f5 +replace github.com/nektos/act => gitea.com/gitea/act v0.261.7-0.20251202193638-5417d3ac6742 replace github.com/go-git/go-git/v5 => github.com/go-git/go-git/v5 v5.16.2 diff --git a/go.sum b/go.sum index 10ad5cbb..c58e48db 100644 --- a/go.sum +++ b/go.sum @@ -6,8 +6,8 @@ connectrpc.com/connect v1.16.2 h1:ybd6y+ls7GOlb7Bh5C8+ghA6SvCBajHwxssO2CGFjqE= connectrpc.com/connect v1.16.2/go.mod h1:n2kgwskMHXC+lVqb18wngEpF95ldBHXjZYJussz5FRc= dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk= dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= -gitea.com/gitea/act v0.261.7-0.20251014023709-34f68b3c18f5 h1:RpiGhyEmMeCO6qyfVIg2v8err9o8iQ+a1AKg9JV7Ilw= -gitea.com/gitea/act v0.261.7-0.20251014023709-34f68b3c18f5/go.mod h1:Pg5C9kQY1CEA3QjthjhlrqOC/QOT5NyWNjOjRHw23Ok= +gitea.com/gitea/act v0.261.7-0.20251202193638-5417d3ac6742 h1:ulcquQluJbmNASkh6ina70LvcHEa9eWYfQ+DeAZ0VEE= +gitea.com/gitea/act v0.261.7-0.20251202193638-5417d3ac6742/go.mod h1:Pg5C9kQY1CEA3QjthjhlrqOC/QOT5NyWNjOjRHw23Ok= github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 h1:bvDV9vkmnHYOMsOr4WLk+Vo07yKIzd94sVoIqshQ4bU= github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24/go.mod h1:8o94RPi1/7XTJvwPpRSzSUedZrtlirdB3r9Z20bi2f8= github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 h1:L/gRVlceqvL25UVaW/CKtUDjefjrs0SPonmDGUVOYP0=