NOCACHE support for make
This commit is contained in:
parent
0b89c0ef11
commit
f4350e4cfe
|
@ -42,6 +42,7 @@ define build
|
||||||
--output type=oci,force-compression=true,name=$(NAME),annotation.org.opencontainers.image.revision=$(REVISION),annotation.org.opencontainers.image.version=$(VERSION),dest=- \
|
--output type=oci,force-compression=true,name=$(NAME),annotation.org.opencontainers.image.revision=$(REVISION),annotation.org.opencontainers.image.version=$(VERSION),dest=- \
|
||||||
--target $(TARGET) \
|
--target $(TARGET) \
|
||||||
$(EXTRA_ARGS) \
|
$(EXTRA_ARGS) \
|
||||||
|
$(NOCACHE_FLAG) \
|
||||||
src/$(CATEGORY)/$(NAME) \
|
src/$(CATEGORY)/$(NAME) \
|
||||||
| gzip > $@; \
|
| gzip > $@; \
|
||||||
gunzip -c $@ | docker load; \
|
gunzip -c $@ | docker load; \
|
||||||
|
|
Reference in New Issue