diff --git a/.github/workflows/build-and-publish.yaml b/.github/workflows/build-and-publish.yaml index c47bb6d8c..98e683c90 100644 --- a/.github/workflows/build-and-publish.yaml +++ b/.github/workflows/build-and-publish.yaml @@ -49,5 +49,6 @@ jobs: with: context: . platforms: linux/arm64,linux/amd64,linux/s390x,linux/ppc64le + provenance: false push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} diff --git a/Makefile b/Makefile index b09aeb8b4..e69f588e3 100644 --- a/Makefile +++ b/Makefile @@ -189,9 +189,9 @@ docker-push: ## Push docker image with the manager. PLATFORMS ?= linux/arm64,linux/amd64,linux/s390x,linux/ppc64le .PHONY: docker-buildx docker-buildx: ## Build and push docker image for the manager for cross-platform support - - $(CONTAINER_TOOL) buildx create --name operator-builder --driver-opt image=moby/buildkit:v0.12.3 + - $(CONTAINER_TOOL) buildx create --name operator-builder --driver-opt image=moby/buildkit:v0.12.4 - $(CONTAINER_TOOL) buildx use operator-builder - - $(CONTAINER_TOOL) buildx build --push --platform=$(PLATFORMS) --tag ${IMG} . + - $(CONTAINER_TOOL) buildx build --push --platform=$(PLATFORMS) --provenance=false --tag ${IMG} . - $(CONTAINER_TOOL) buildx rm operator-builder ##@ Deployment