build: enable BuildKit via build hook env var
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4289bd0358
commit
8cdf2ec26f
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
# $IMAGE_NAME var is injected into the build so the tag is correct.
|
# $IMAGE_NAME var is injected into the build so the tag is correct.
|
||||||
|
|
||||||
|
export DOCKER_BUILDKIT=1
|
||||||
echo "Build hook running"
|
echo "Build hook running"
|
||||||
docker build --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
|
docker build --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
|
||||||
--build-arg VCS_REF=`git rev-parse --short HEAD` \
|
--build-arg VCS_REF=`git rev-parse --short HEAD` \
|
||||||
|
Loading…
Reference in New Issue
Block a user