From 71753e9f0b16ae76c8b0ba6b69b47bb64f46a4e7 Mon Sep 17 00:00:00 2001 From: "Lance R. Vick" Date: Sat, 27 Jan 2024 22:23:34 -0800 Subject: [PATCH] autoload oci files after build --- src/macros.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/macros.mk b/src/macros.mk index 87f85be..b9afd0d 100644 --- a/src/macros.mk +++ b/src/macros.mk @@ -34,7 +34,7 @@ define build $(BUILDER) \ build \ --ulimit nofile=2048:16384 \ - -t $(REGISTRY)/$(NAME):$(VERSION) \ + --tag $(REGISTRY)/$(NAME):$(VERSION) \ --build-arg REGISTRY=$(REGISTRY) \ --platform $(PLATFORM) \ --progress=plain \ @@ -44,6 +44,7 @@ define build $(EXTRA_ARGS) \ src/$(CATEGORY)/$(NAME) \ | gzip > $@; \ + gunzip -c $@ | docker load; \ ) $(eval TIMESTAMP := $(shell TZ=GMT date +"%Y-%m-%dT%H:%M:%SZ")) mkdir -p out/