diff --git a/multi-arch.mk b/multi-arch.mk index 06c51adc..896a5cac 100644 --- a/multi-arch.mk +++ b/multi-arch.mk @@ -13,7 +13,8 @@ # limitations under the License. PUSH_ON_BUILD ?= false -DOCKER_BUILD_OPTIONS = --output=type=image,push=$(PUSH_ON_BUILD) +ATTACH_ATTESTATIONS ?= false +DOCKER_BUILD_OPTIONS = --output=type=image,push=$(PUSH_ON_BUILD),provenance=$(ATTACH_ATTESTATIONS),sbom=$(ATTACH_ATTESTATIONS) DOCKER_BUILD_PLATFORM_OPTIONS = --platform=linux/amd64,linux/arm64 REGCTL ?= regctl