From fd14d6495ec29b07acd4f139eeade522e14ee606 Mon Sep 17 00:00:00 2001 From: EveningStarlight Date: Fri, 15 Nov 2024 09:46:06 -0500 Subject: [PATCH 1/2] test buildkit with extra logs --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f4a08393..d11135b2 100644 --- a/Makefile +++ b/Makefile @@ -206,7 +206,7 @@ build/%: ## build the latest image # End repo with exactly one trailing slash, unless it is empty REPO=$$(echo "$(REPO)" | sed 's:/*$$:/:' | sed 's:^\s*/*\s*$$::') &&\ IMAGE_NAME="$${REPO}$(notdir $@):$(TAG)" && \ - DOCKER_BUILDKIT=0 docker build $(DARGS) --rm --force-rm -t $$IMAGE_NAME ./output/$(notdir $@) && \ + docker build --progress=plain $(DARGS) --rm --force-rm -t $$IMAGE_NAME ./output/$(notdir $@) && \ echo -n "Built image $$IMAGE_NAME of size: " && \ docker images $$IMAGE_NAME --format "{{.Size}}" && \ echo "full_image_name=$$IMAGE_NAME" >> $(GITHUB_OUTPUT) && \ From f34d7d9780bc4989e75eb48fbd4c953d6130ee23 Mon Sep 17 00:00:00 2001 From: EveningStarlight Date: Fri, 15 Nov 2024 14:05:56 -0500 Subject: [PATCH 2/2] Update Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d11135b2..d6811ff8 100644 --- a/Makefile +++ b/Makefile @@ -206,7 +206,7 @@ build/%: ## build the latest image # End repo with exactly one trailing slash, unless it is empty REPO=$$(echo "$(REPO)" | sed 's:/*$$:/:' | sed 's:^\s*/*\s*$$::') &&\ IMAGE_NAME="$${REPO}$(notdir $@):$(TAG)" && \ - docker build --progress=plain $(DARGS) --rm --force-rm -t $$IMAGE_NAME ./output/$(notdir $@) && \ + docker build --progress=plain --no-cache --output=type=registry $(DARGS) --rm --force-rm -t $$IMAGE_NAME ./output/$(notdir $@) && \ echo -n "Built image $$IMAGE_NAME of size: " && \ docker images $$IMAGE_NAME --format "{{.Size}}" && \ echo "full_image_name=$$IMAGE_NAME" >> $(GITHUB_OUTPUT) && \