We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8dbcbd commit 93a119bCopy full SHA for 93a119b
Makefile
@@ -579,6 +579,7 @@ image/push/probe: image/build/probe
579
# push the image to the OpenShift internal registry
580
image/push/internal: IMAGE_TAG ?= $(image_tag)
581
image/push/internal: docker/login/internal
582
+ @oc get imagestream $(IMAGE_NAME) -n $(NAMESPACE) >/dev/null 2>&1 || oc create imagestream $(IMAGE_NAME) -n $(NAMESPACE) --lookup-local
583
$(DOCKER) buildx build -t "$(shell oc get route default-route -n openshift-image-registry -o jsonpath="{.spec.host}")/$(NAMESPACE)/$(IMAGE_NAME):$(IMAGE_TAG)" --platform linux/amd64 --push .
584
.PHONY: image/push/internal
585
0 commit comments