File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,8 @@ build() {
185
185
" ${SED} " -i ' /CROSS_BUILD_/d' Dockerfile
186
186
fi
187
187
188
- docker buildx build --progress=plain --no-cache --pull --output=type=" ${output_type} " --platform " ${os_name} /${arch} " \
188
+ # `--provenance=false --sbom=false` is set to avoid creating a manifest list: https://github.com/kubernetes/kubernetes/issues/123266
189
+ docker buildx build --progress=plain --no-cache --pull --output=type=" ${output_type} " --platform " ${os_name} /${arch} " --provenance=false --sbom=false \
189
190
--build-arg BASEIMAGE=" ${base_image} " --build-arg REGISTRY=" ${REGISTRY} " --build-arg OS_VERSION=" ${os_version} " \
190
191
-t " ${REGISTRY} /${image} :${TAG} -${suffix} " -f " ${dockerfile_name} " \
191
192
--label " image_version=${TAG} " --label " commit_id=${GIT_COMMIT_ID} " \
You can’t perform that action at this time.
0 commit comments