From 984ac07d6301166038d68b8c3cf709bd37313030 Mon Sep 17 00:00:00 2001 From: "Lance R. Vick" Date: Wed, 7 Feb 2024 14:03:02 -0800 Subject: [PATCH] enable OCI timestamp rewriting --- src/macros.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/macros.mk b/src/macros.mk index 036a961..2be0b8c 100644 --- a/src/macros.mk +++ b/src/macros.mk @@ -41,7 +41,7 @@ define build --platform $(PLATFORM) \ --progress=plain \ $(if $(filter latest,$(VERSION)),,--build-arg VERSION=$(VERSION)) \ - --output type=oci,force-compression=true,name=$(NAME),annotation.org.opencontainers.image.revision=$(REVISION),annotation.org.opencontainers.image.version=$(VERSION),dest=$(TEMPFILE) \ + --output type=oci,rewrite-timestamp=true,force-compression=true,name=$(NAME),annotation.org.opencontainers.image.revision=$(REVISION),annotation.org.opencontainers.image.version=$(VERSION),dest=$(TEMPFILE) \ --target $(TARGET) \ $(EXTRA_ARGS) \ $(NOCACHE_FLAG) \