gateway-api: Job post-gateway-api-push-images started failing on 09-11

What happened:

image

https://testgrid.k8s.io/sig-network-gateway-api#post-gateway-api-push-images

hack/build-and-push.sh
unknown flag: --build-arg
See 'docker --help'.
Usage:  docker [OPTIONS] COMMAND

There were several changes in this area https://github.com/kubernetes-sigs/gateway-api/commit/7a1324159a500c08596f5458e936f3bb65ef8592

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 18 (18 by maintainers)

Most upvoted comments

I suggest to change a build image.

And I am looking for a good build image from popular repos.

Sounds good, thanks for the help @Xunzhuo!

We passed image verify now, before #1552: image

For now, I think we just need some setups for muli-arch buildx context : )

cc @robscott @wilsonwu

This is weird, some options I think:

  1. Try to upgrade the gcb-docker-gcloud image to the latest.
  2. Try to change the build image.

I will take some time later this day to look into this issue.

Yep, I tested the gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20211118-2f2d816b90, and yes, docker buildx is supported.

https://github.com/kubernetes-sigs/gateway-api/pull/1549 added verify and log for docker buildx, I think this can provide more context on the docker buildx issue.

I can help on this if you are willing to : ) @wilsonwu

Yes please, I checked that the gcb-docker-gcloud image could support buildx: https://github.com/kubernetes/test-infra/tree/master/images/gcb-docker-gcloud.

And it works in my local env, please help to fix it.

I can help on this if you are willing to : ) @wilsonwu

wow, that was fast , thanks

/assign @wilsonwu

I’ll assign to to you then

@wilsonwu you restored those flags recently b48859c

#1542 try to fix in this PR.

The latest problem:

Status: Downloaded newer image for gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20211118-2f2d816b90
gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20211118-2f2d816b90
hack/build-and-push.sh
unknown shorthand flag: 'f' in -f
See 'docker --help'.
Usage:  docker [OPTIONS] COMMAND