Skip to content

Commit

Permalink
Exclude attestation manifests (sbom, provenance) during the build usi…
Browse files Browse the repository at this point in the history
…ng buildx as some tools

doesn't understand these manifests (oc mirror)

Signed-off-by: Shiva Krishna, Merla <[email protected]>
  • Loading branch information
shivamerla committed Jun 11, 2024
1 parent 1a4f467 commit 4aa7af6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion multi-arch.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4aa7af6

Please sign in to comment.