File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,9 @@ OSVERSION ?= 1809
77
77
OUTPUT_TYPE ?= registry
78
78
BUILDX_BUILDER_NAME ?= img-builder
79
79
QEMU_VERSION ?= 5.2.0-2
80
+ # pinning buildkit version to v0.10.6 as v0.11.0 is injecting sbom/prov to manifest
81
+ # causing the manifest push to fail
82
+ BUILDKIT_VERSION ?= v0.10.6
80
83
81
84
# Binaries
82
85
GOLANGCI_LINT := $(TOOLS_BIN_DIR ) /golangci-lint
@@ -319,7 +322,7 @@ container-windows: docker-buildx-builder
319
322
docker-buildx-builder :
320
323
@if ! docker buildx ls | grep $(BUILDX_BUILDER_NAME ) ; then \
321
324
docker run --rm --privileged multiarch/qemu-user-static:$(QEMU_VERSION ) --reset -p yes; \
322
- docker buildx create --name $(BUILDX_BUILDER_NAME ) --use; \
325
+ docker buildx create --driver-opt image=moby/buildkit: $( BUILDKIT_VERSION ) -- name $(BUILDX_BUILDER_NAME ) --use; \
323
326
docker buildx inspect $(BUILDX_BUILDER_NAME ) --bootstrap; \
324
327
fi
325
328
You can’t perform that action at this time.
0 commit comments