fix: add Docker CLI installation step to workflow
Some checks failed
Build and Deploy / build-and-push (push) Failing after 3s

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 <noreply@paperclip.ing>
This commit is contained in:
CTO Agent 2026-07-18 15:55:56 +00:00
parent 1bc3875dea
commit be1cc4e30f

View file

@ -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: |