fix(ci): set PATH in deploy job so docker binary is found
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 <noreply@anthropic.com>
This commit is contained in:
@@ -266,6 +266,10 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
name: "Deploy · all services"
|
name: "Deploy · all services"
|
||||||
runs-on: self-hosted
|
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:
|
needs:
|
||||||
- api-build
|
- api-build
|
||||||
- admin-api-build
|
- admin-api-build
|
||||||
|
|||||||
Reference in New Issue
Block a user