Skip to content

Commit 7abe2da

Browse files
committed
disable attestations in single arch docker build by default
Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com>
1 parent a24005d commit 7abe2da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

deployments/container/native-only.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
# limitations under the License.
1414

1515
PUSH_ON_BUILD ?= false
16-
DOCKER_BUILD_PLATFORM_OPTIONS ?= --platform=linux/amd64
16+
ATTACH_ATTESTATIONS ?= false
17+
DOCKER_BUILD_OPTIONS = --output=type=image,push=$(PUSH_ON_BUILD) --provenance=$(ATTACH_ATTESTATIONS) --sbom=$(ATTACH_ATTESTATIONS)
1718

1819
ifeq ($(PUSH_ON_BUILD),true)
1920
$(BUILD_TARGETS): image

0 commit comments

Comments
 (0)