autoload oci files after build

This commit is contained in:
Lance Vick 2024-01-27 22:23:34 -08:00
parent 9918246d44
commit 71753e9f0b
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
1 changed files with 2 additions and 1 deletions

View File

@ -34,7 +34,7 @@ define build
$(BUILDER) \ $(BUILDER) \
build \ build \
--ulimit nofile=2048:16384 \ --ulimit nofile=2048:16384 \
-t $(REGISTRY)/$(NAME):$(VERSION) \ --tag $(REGISTRY)/$(NAME):$(VERSION) \
--build-arg REGISTRY=$(REGISTRY) \ --build-arg REGISTRY=$(REGISTRY) \
--platform $(PLATFORM) \ --platform $(PLATFORM) \
--progress=plain \ --progress=plain \
@ -44,6 +44,7 @@ define build
$(EXTRA_ARGS) \ $(EXTRA_ARGS) \
src/$(CATEGORY)/$(NAME) \ src/$(CATEGORY)/$(NAME) \
| gzip > $@; \ | gzip > $@; \
gunzip -c $@ | docker load; \
) )
$(eval TIMESTAMP := $(shell TZ=GMT date +"%Y-%m-%dT%H:%M:%SZ")) $(eval TIMESTAMP := $(shell TZ=GMT date +"%Y-%m-%dT%H:%M:%SZ"))
mkdir -p out/ mkdir -p out/