Skip to content

Commit 631ade0

Browse files
authored
Merge pull request #132 from NVIDIA/disable-docker-provenance
Add build options for Docker image attestation control
2 parents 2f86e01 + e205a9a commit 631ade0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deployments/container/native-only.mk

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

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

1820
$(PUSH_TARGETS): push-%:
1921
$(DOCKER) tag "$(IMAGE)" "$(OUT_IMAGE)"

0 commit comments

Comments
 (0)