@@ -178,7 +178,7 @@ docker build -t <registry>/<your-username>/console-operator:<version> .
178
178
# following: docker.io/openshift/origin-console-operator:latest
179
179
# for development, you are going to push to an alternate registry.
180
180
# specifically it can look something like this:
181
- docker build -f Dockerfile.rhel7 -t quay.io/benjaminapetersen /console-operator:latest .
181
+ docker build -f Dockerfile.ocp -t quay.io/< your-username > /console-operator:latest .
182
182
```
183
183
You can optionally build a specific version.
184
184
@@ -187,7 +187,7 @@ Then, push your image:
187
187
``` bash
188
188
docker push < registry> /< your-username> /console-operator:< version>
189
189
# Be sure your repository is public else the image will not be able to be pulled later
190
- docker push quay.io/benjaminapetersen /console-operator:latest
190
+ docker push quay.io/< your-username > /console-operator:latest
191
191
```
192
192
Then, you will want to deploy your new container. This means duplicating the ` manifests/07-operator.yaml `
193
193
and updating the line ` image: docker.io/openshift/origin-console-operator:latest ` to instead use the
@@ -206,7 +206,7 @@ image: docker.io/openshift/origin-console-operator:latest
206
206
# after
207
207
# image: <registry>/<your-username>/console-operator:<version>
208
208
replicas : 1
209
- image : quay.io/benjaminapetersen /console-operator:latest
209
+ image : quay.io/<your-username> /console-operator:latest
210
210
` ` `
211
211
And ensure that the ` imagePullPolicy` is still `Always`. This will ensure a fast development feedback loop.
212
212
@@ -229,9 +229,9 @@ Which looks like the following:
229
229
230
230
` ` ` bash
231
231
# build binary + container
232
- docker build -t quay.io/benjaminapetersen /console-operator:latest .
232
+ docker build -t quay.io/<your-username> /console-operator:latest .
233
233
# push container
234
- docker push quay.io/benjaminapetersen /console-operator:latest
234
+ docker push quay.io/<your-username> /console-operator:latest
235
235
# delete pod, trigger a new pull & deploy
236
236
oc delete pod console-operator --namespace openshift-console-operator
237
237
` ` `
@@ -281,4 +281,4 @@ oc adm release extract
281
281
# # Quick Starts
282
282
283
283
See the [Quick Starts README](quickstarts/README.md) for contributing console
284
- quick starts.
284
+ quick starts.
0 commit comments