force --no-cache in reproduce mode

This commit is contained in:
Lance Vick 2024-08-03 15:23:49 -07:00
parent 286a2b5f37
commit a50d38a8a5
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
1 changed files with 4 additions and 2 deletions

View File

@ -9,6 +9,7 @@ export
## Use env vars from latest release when reproducing
ifdef REPRODUCE
include dist/release.env
NO_CACHE := --no-cache
export
endif
@ -30,6 +31,7 @@ out/airgap.iso: Containerfile $(shell git ls-files rootfs)
--build-arg GIT_AUTHOR="$(GIT_AUTHOR)" \
--build-arg GIT_KEY="$(GIT_KEY)" \
--build-arg GIT_TIMESTAMP="$(GIT_TIMESTAMP)" \
$(NO_CACHE) \
-f Containerfile \
.