Skip to content

Commit 845c853

Browse files
committed
update the docker commands for the images
1 parent 5cf3dce commit 845c853

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ this is a big hammer, you could instead just tell the CVO your operator should b
4848
Build and push your newly built image to a repo:
4949
```
5050
$ make images
51-
$ docker registry.svc.ci.openshift.org/ocp/4.2:cluster-svcat-apiserver-operator jmrodri/ocp-cluster-svcat-apiserver-operator:xx
52-
$ docker push jmrodri/ocp-cluster-svcat-apiserver-operator
51+
$ docker tag registry.svc.ci.openshift.org/ocp/4.2:cluster-svcat-apiserver-operator docker.io/jmrodri/ocp-cluster-svcat-apiserver-operator:latest
52+
$ docker push docker.io/jmrodri/ocp-cluster-svcat-apiserver-operator:latest
5353
```
5454
and then update the manifest to specify your operator image:
5555
```
@@ -62,7 +62,7 @@ locate the image and change the image and pull policy:
6262
```
6363
to
6464
```
65-
image: docker.io/jmrodri/ocp-cluster-svcat-apiserver-operator:xx
65+
image: docker.io/jmrodri/ocp-cluster-svcat-apiserver-operator:latest
6666
imagePullPolicy: Always
6767
```
6868
This will cause your dev operator image to be pulled down and deployed. When you want to deploy a newly built image just scale your operator to zero and right back to one:

0 commit comments

Comments
 (0)