autoload oci files after build
This commit is contained in:
parent
9918246d44
commit
71753e9f0b
|
@ -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/
|
||||||
|
|
Reference in New Issue