From 445cafa88b1c3c5e219c11c5e7731e0ea972536a Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Wed, 15 Apr 2026 13:20:51 -0500 Subject: [PATCH] fix(ci): install docker cli before building image in production workflow (#237) Runner doesn't have docker pre-installed; explicitly install docker.io matching the pattern used in microwaveprop. Reviewed-on: https://git.mcintire.me/graham/towerops-web/pulls/237 --- .forgejo/workflows/production.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/production.yaml b/.forgejo/workflows/production.yaml index ce5962a8..073e6e10 100644 --- a/.forgejo/workflows/production.yaml +++ b/.forgejo/workflows/production.yaml @@ -98,11 +98,14 @@ jobs: echo "tag=${TAG}" >> $GITHUB_OUTPUT echo "Full image tag: ${TAG}" + - name: Install Docker CLI + run: | + apt-get update && apt-get install -y docker.io + - name: Build and push Docker image run: | IMAGE_TAG="${{ steps.tag.outputs.tag }}" - # Build using existing Docker daemon (runner user is in docker group) docker build \ --build-arg MIX_ENV=prod \ --file k8s/Dockerfile \