Set DOCKER_BUILDKIT=1 in make images (#1906)

This commit is contained in:
Jason Hall 2022-02-10 12:22:56 -05:00 committed by GitHub
parent 2d94d56af7
commit e38452ef4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -93,6 +93,7 @@ k8s-executor-build-push:
docker push $(REGISTRY)/executor:latest docker push $(REGISTRY)/executor:latest
.PHONY: images .PHONY: images
images: DOCKER_BUILDKIT=1
images: images:
docker build ${BUILD_ARG} --build-arg=GOARCH=$(GOARCH) -t $(REGISTRY)/executor:latest -f deploy/Dockerfile . docker build ${BUILD_ARG} --build-arg=GOARCH=$(GOARCH) -t $(REGISTRY)/executor:latest -f deploy/Dockerfile .
docker build ${BUILD_ARG} --build-arg=GOARCH=$(GOARCH) -t $(REGISTRY)/executor:debug -f deploy/Dockerfile_debug . docker build ${BUILD_ARG} --build-arg=GOARCH=$(GOARCH) -t $(REGISTRY)/executor:debug -f deploy/Dockerfile_debug .