From 6e6ff4280d76646cac5e66325b705e7e691be4ac Mon Sep 17 00:00:00 2001 From: Amr Gharbeia Date: Fri, 27 Mar 2026 19:22:45 -0400 Subject: [PATCH] ci: version 12 - install docker cli in runner environment --- .gitea/workflows/deploy.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 19b5c18..94a6113 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -1,23 +1,24 @@ -name: Deploy-Agent-V11-HostSocket +name: Deploy-Agent-V12-InstallDocker on: push: branches: - main jobs: - JOB-V11-HOST-DAEMON: + JOB-V12-DOCKER-CLI: runs-on: debian-latest steps: + - name: Install Docker CLI + run: | + echo "Installing Docker CLI..." + apt-get update + apt-get install -y docker.io docker-compose-v2 + - name: Deploy via Host Docker Socket run: | - # VERSION 11 - THE HOST-SOCKET STRATEGY - # We don't 'cd' inside the runner because the runner doesn't have the mount. - # Instead, we tell the HOST'S Docker to build using the HOST'S paths. - echo "Sending build command to host Docker daemon..." - # We use -f for the config and --project-directory to set the build context - # to the real path on your LXC (/memex). + # We use the absolute path /memex which both the runner and host understand docker compose \ -f /memex/projects/org-agent/deploy/docker/docker-compose.yml \