build: enable BuildKit via build hook env var
Some checks failed
continuous-integration/drone/tag Build is failing

once DockeHub builds stop failing anyway
This commit is contained in:
surtur 2021-03-09 21:25:56 +01:00
parent 68d8fcd537
commit c265b5da8f
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -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` \