From 08066b573c84d41504c279421379fcbeb226a08f Mon Sep 17 00:00:00 2001 From: surtur Date: Tue, 9 Mar 2021 21:15:44 +0100 Subject: [PATCH] build: enable BuildKit via build hook env var * hopefully this also makes DockerHub builds faster --- hooks/build | 1 + 1 file changed, 1 insertion(+) diff --git a/hooks/build b/hooks/build index 4c69a76..7a366b4 100644 --- a/hooks/build +++ b/hooks/build @@ -4,6 +4,7 @@ # $IMAGE_NAME var is injected into the build so the tag is correct. +export DOCKER_BUILDKIT=1 echo "Build hook running" docker build --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \ --build-arg VCS_REF=`git rev-parse --short HEAD` \