From 5393a85b045a463f6d8622e05dafdcdb26664f46 Mon Sep 17 00:00:00 2001 From: Will Anderson Date: Thu, 7 May 2026 18:57:30 -0500 Subject: [PATCH] ci: enable DOCKER_BUILDKIT for BuildKit FROM --platform support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Gitea Dockerfile uses FROM --platform=$BUILDPLATFORM which requires BuildKit. The GCE runner defaults to the legacy builder — set DOCKER_BUILDKIT=1 to enable it. Co-Authored-By: Claude Sonnet 4.6 --- .gitea/workflows/build-push.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/build-push.yaml b/.gitea/workflows/build-push.yaml index 4cf161ac7f..36e6199b64 100644 --- a/.gitea/workflows/build-push.yaml +++ b/.gitea/workflows/build-push.yaml @@ -67,6 +67,8 @@ jobs: echo "sha=${SHA}" >> "$GITHUB_OUTPUT" - name: Build Gitea image + env: + DOCKER_BUILDKIT: "1" run: | TAGS="" for t in ${{ steps.tag.outputs.tags }}; do