Skip to content

Commit ded7df9

Browse files
authored
MINOR: fix docker_release example (#19427)
Fix docker_release example. Currently, the command doesn't display correctly Reviewers: TengYao Chi <[email protected]>, PoAn Yang <[email protected]>, Yung <[email protected]>, Ken Huang <[email protected]>
1 parent 2f6ea81 commit ded7df9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,13 +141,13 @@ Creating a Release Candidate
141141
```
142142
# kafka/test is an example repo. Please replace with the docker hub repo you have push access to.
143143
144-
python docker_release.py kafka/test:3.6.0 --kafka-url --image-type=jvm https://archive.apache.org/dist/kafka/3.6.0/kafka_2.13-3.6.0.tgz
144+
python docker_release.py kafka/test:3.6.0 --image-type=jvm --kafka-url=https://archive.apache.org/dist/kafka/3.6.0/kafka_2.13-3.6.0.tgz
145145
```
146146
- Example(native):- To push an image named test under kafka-native dockerhub namespace with 3.8.0 tag and native image type ensuring kafka to be containerised should be https://archive.apache.org/dist/kafka/3.8.0/kafka_2.13-3.8.0.tgz (it is recommended to use scala 2.13 binary tarball), following command can be used. (Make sure you have push access to the docker repo)
147147
```
148148
# kafka-native/test is an example repo. Please replace with the docker hub repo you have push access to.
149149
150-
python docker_release.py kafka-native/test:3.8.0 --kafka-url --image-type=native https://archive.apache.org/dist/kafka/3.8.0/kafka_2.13-3.8.0.tgz
150+
python docker_release.py kafka-native/test:3.8.0 --image-type=native --kafka-url=https://archive.apache.org/dist/kafka/3.8.0/kafka_2.13-3.8.0.tgz
151151
```
152152

153153
- Please note that we use docker buildx for preparing the multi-architecture image and pushing it to docker registry. It's possible to encounter build failures because of buildx. Please retry the command in case some buildx related error occurs.

0 commit comments

Comments
 (0)