From f95fa6f2e31898a74893903f8dca3ef192e7a0ce Mon Sep 17 00:00:00 2001 From: meijin <859037421@qq.com> Date: Sat, 12 Jun 2021 04:02:03 +0800 Subject: [PATCH] build image output to docker (#6128) Co-authored-by: Alex Collins Signed-off-by: uturunku1 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 79bab6aa36b1..fff5bfddb819 100644 --- a/Makefile +++ b/Makefile @@ -222,7 +222,7 @@ argoexec-image: %-image: [ ! -e dist/$* ] || mv dist/$* . - docker buildx build -t $(IMAGE_NAMESPACE)/$*:$(VERSION) --target $* . + docker buildx build -t $(IMAGE_NAMESPACE)/$*:$(VERSION) --target $* --output=type=docker . [ ! -e $* ] || mv $* dist/ docker run --rm -t $(IMAGE_NAMESPACE)/$*:$(VERSION) version if [ $(K3D) = true ]; then k3d image import $(IMAGE_NAMESPACE)/$*:$(VERSION); fi