From d0d4a1dd6f18d44dc6d103ae5dfbfbcd78d3fc6e Mon Sep 17 00:00:00 2001 From: k8s-infra-cherrypick-robot <90416843+k8s-infra-cherrypick-robot@users.noreply.github.com> Date: Wed, 18 Sep 2024 05:42:44 -0700 Subject: [PATCH] Update image build command (#2666) Co-authored-by: FavourEva --- docs/cinder-csi-plugin/using-cinder-csi-plugin.md | 2 +- docs/developers-guide.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/cinder-csi-plugin/using-cinder-csi-plugin.md b/docs/cinder-csi-plugin/using-cinder-csi-plugin.md index 78f2992a21..7cb98fe32b 100644 --- a/docs/cinder-csi-plugin/using-cinder-csi-plugin.md +++ b/docs/cinder-csi-plugin/using-cinder-csi-plugin.md @@ -262,7 +262,7 @@ To build cinder-csi-plugin image ``` $ export ARCH=amd64 # Defaults to amd64 -$ make image-cinder-csi-plugin +$ make build-local-image-cinder-csi-plugin ``` ### Testing diff --git a/docs/developers-guide.md b/docs/developers-guide.md index 8335244b94..6fe1559494 100644 --- a/docs/developers-guide.md +++ b/docs/developers-guide.md @@ -106,7 +106,7 @@ In cloud-provider-openstack repo directory, run: ``` REGISTRY= \ VERSION= \ -make image-openstack-cloud-controller-manager +make build-local-image-openstack-cloud-controller-manager ``` The above command builds a container image locally with the name: @@ -121,7 +121,7 @@ You may notice there is a suffix `-amd64` because cloud-provider-openstack suppo ARCH=amd64 \ REGISTRY= \ VERSION= \ -make image-openstack-cloud-controller-manager +make build-local-image-openstack-cloud-controller-manager ``` If the kubernetes cluster can't access the image locally, you need to upload the image to container registry first by running `docker push`.