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

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