From c904ce139fcd9808633461397f8009b565d48b96 Mon Sep 17 00:00:00 2001 From: surtur Date: Thu, 11 Mar 2021 01:25:59 +0100 Subject: [PATCH] build: enable BuildKit via build hook env var --- 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` \