Skip to content

Commit b7b658e

Browse files
authored
Add provenance and sbom to buildx call for push-image (#60)
1 parent 2103f9e commit b7b658e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ build:
1919
push-image:
2020
@echo "Pushing image $(REPO)/$(IMAGE):$(TAG) for platforms $(TARGET_PLATFORMS)"
2121
docker buildx build \
22+
--sbom=true \
23+
--attest type=provenance,mode=max \
2224
--tag $(REPO)/$(IMAGE):$(TAG) \
2325
--file $(DOCKERFILE) \
2426
--platform $(TARGET_PLATFORMS) \

0 commit comments

Comments
 (0)