diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index eeaae74..9a46316 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -92,6 +92,12 @@ jobs: SRC: /home/adamf/.cache/job-tracker-ci/publish-${{ github.sha }} REGISTRY_USER: ${{ secrets.REGISTRY_USER }} REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }} + # The Pi's Docker is 20.10, where plain `docker build` still uses + # the legacy builder, and that rejects the Dockerfile's + # `RUN --mount=type=cache` lines. This switches on the BuildKit + # built into the daemon. (Compose builds through buildx, which is + # why web_server's images build without it.) + DOCKER_BUILDKIT: "1" steps: - name: Build and push the image shell: bash