Merge pull request #115690 from tzneal/fix-buildx-check

fix docker buildx check
This commit is contained in:
Kubernetes Prow Robot 2023-02-12 14:27:30 -08:00 committed by GitHub
commit e818649c10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -729,7 +729,7 @@ function kube::util::ensure-cfssl {
# Check if we have "docker buildx" commands available
#
function kube::util::ensure-docker-buildx {
if docker buildx --help >/dev/null 2>&1; then
if docker buildx >/dev/null 2>&1; then
return 0
else
echo "ERROR: docker buildx not available. Docker 19.03 or higher is required with experimental features enabled"