ci: enable DOCKER_BUILDKIT for BuildKit FROM --platform support
Build & Push Gitea image / build-push (push) Failing after 53s

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 <noreply@anthropic.com>
This commit is contained in:
2026-05-07 18:57:30 -05:00
parent 4e929ad814
commit 5393a85b04
+2
View File
@@ -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