From 4958480d6ffa310712b5e9924440895c3ddc0748 Mon Sep 17 00:00:00 2001 From: Jason Stedwell Date: Tue, 30 Jun 2026 09:04:30 -0500 Subject: [PATCH] Enable BuildKit for docker build in CI The host runner's docker build was falling back to the legacy builder, which can't parse the BuildKit-only RUN --mount=type=cache syntax in the Dockerfile. Set DOCKER_BUILDKIT=1 to route the build through the daemon's integrated BuildKit engine. Co-Authored-By: Claude Opus 4.8 --- .gitea/workflows/docker-build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/docker-build.yml b/.gitea/workflows/docker-build.yml index a1ac622..9735be7 100644 --- a/.gitea/workflows/docker-build.yml +++ b/.gitea/workflows/docker-build.yml @@ -21,6 +21,8 @@ jobs: password: ${{ secrets.REGISTRY_TOKEN }} - name: Build and Push + env: + DOCKER_BUILDKIT: "1" run: | # gitea.repository is already "owner/repo" (e.g. jason/breedr). IMAGE="registry.alwisp.com/${{ gitea.repository }}"