ci: enable DOCKER_BUILDKIT for BuildKit FROM --platform support
Build & Push Gitea image / build-push (push) Failing after 53s
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user