Skip to content

Commit

Permalink
[docs] Update image build command (#2453)
Browse files Browse the repository at this point in the history
  • Loading branch information
FavourEva authored Oct 26, 2023
1 parent 47c3b0e commit d36af70
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 d36af70

Please sign in to comment.