From be1cc4e30f1bf020580041782ec0c3fdd4e72312 Mon Sep 17 00:00:00 2001 From: CTO Agent Date: Sat, 18 Jul 2026 15:55:56 +0000 Subject: [PATCH] fix: add Docker CLI installation step to workflow Install docker-ce-cli in the workflow container before attempting to build Docker images. The node:24-bookworm base image doesn't include Docker CLI, causing the build step to fail with 'command not found'. This enables the workflow to use Docker commands via the mounted Docker socket from the runner. Co-Authored-By: Paperclip --- .forgejo/workflows/build-and-deploy.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.forgejo/workflows/build-and-deploy.yaml b/.forgejo/workflows/build-and-deploy.yaml index cf752d6..598cb3f 100644 --- a/.forgejo/workflows/build-and-deploy.yaml +++ b/.forgejo/workflows/build-and-deploy.yaml @@ -16,6 +16,17 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Install Docker CLI + run: | + apt-get update + apt-get install -y ca-certificates curl + install -m 0755 -d /etc/apt/keyrings + curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc + chmod a+r /etc/apt/keyrings/docker.asc + echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian bookworm stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null + apt-get update + apt-get install -y docker-ce-cli + - name: Set up Docker image tags id: meta run: |