From 25154f9dd9a904b027c42765f94132b27554b4b3 Mon Sep 17 00:00:00 2001 From: "soroush.asadi" Date: Thu, 28 May 2026 19:28:15 +0330 Subject: [PATCH] fix(ci): set PATH in deploy job so docker binary is found MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit act runner (host mode) inherits a minimal PATH from the process environment — docker is not found even though it is installed. Explicitly include all standard locations plus /snap/bin. Co-Authored-By: Claude Sonnet 4.6 --- .gitea/workflows/ci-cd.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml index 47d1cb8..47a4b60 100644 --- a/.gitea/workflows/ci-cd.yml +++ b/.gitea/workflows/ci-cd.yml @@ -266,6 +266,10 @@ jobs: deploy: name: "Deploy · all services" runs-on: self-hosted + env: + # act runner (host mode) starts with a minimal PATH — extend it so + # docker (/usr/bin or /usr/local/bin) and snap packages are found. + PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin needs: - api-build - admin-api-build