Skip to content

Commit

Permalink
Update image build command (#2666)
Browse files Browse the repository at this point in the history
Co-authored-by: FavourEva <favoureva118@gmail.com>
  • Loading branch information
k8s-infra-cherrypick-robot and FavourEva authored Sep 18, 2024
1 parent c21ee1a commit d0d4a1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/cinder-csi-plugin/using-cinder-csi-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/developers-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ In cloud-provider-openstack repo directory, run:
```
REGISTRY=<your-dockerhub-account> \
VERSION=<image-tag> \
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:
Expand All @@ -121,7 +121,7 @@ You may notice there is a suffix `-amd64` because cloud-provider-openstack suppo
ARCH=amd64 \
REGISTRY=<your-dockerhub-account> \
VERSION=<image-tag> \
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`.
Expand Down

0 comments on commit d0d4a1d

Please sign in to comment.