From 35022267dca722e1ed976d2a139bcfca95377b60 Mon Sep 17 00:00:00 2001 From: Jean-Luc Makiola Date: Fri, 19 Jun 2026 10:08:08 +0200 Subject: [PATCH] fix(renovate): run renovate image directly instead of docker-wrapping action MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit renovatebot/github-action is a Node wrapper that shells out to `docker run ghcr.io/renovatebot/renovate`, requiring a Docker CLI + socket inside the job. The Gitea runner executes the job in a plain node:22 container with neither, so it died on "Unable to locate executable file: docker". Run the renovate image as the job container and invoke `renovate` directly — drops the docker-in-docker requirement. Full tag pinned; Renovate's github-actions manager keeps container.image bumped. Co-Authored-By: Claude Opus 4.8 (1M context) --- .gitea/workflows/renovate.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/renovate.yml b/.gitea/workflows/renovate.yml index 1cd89c9..5b5ebda 100644 --- a/.gitea/workflows/renovate.yml +++ b/.gitea/workflows/renovate.yml @@ -16,11 +16,18 @@ concurrency: jobs: renovate: runs-on: docker + # Run the Renovate image *as* the job container and invoke the `renovate` + # binary directly. The renovatebot/github-action wrapper is a thin Node + # action that shells out to `docker run …` — it needs a Docker CLI + socket + # inside the job, which the Gitea runner's plain node container has not, so + # it died on "Unable to locate executable file: docker". Running the image + # directly drops the docker-in-docker requirement entirely. + # Full tag pinned; Renovate's github-actions manager keeps it bumped. + container: + image: ghcr.io/renovatebot/renovate:43.232.0 steps: - name: Run Renovate - # This action publishes only full semver tags (no moving major tag — - # @v46 / @v40 etc. 404). Pin a real release; Renovate keeps it bumped. - uses: renovatebot/github-action@v46.1.15 + run: renovate env: # Self-hosted Gitea, not github.com. RENOVATE_PLATFORM: gitea