We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 837afb4 commit 5d97c29Copy full SHA for 5d97c29
makefile-sanity.include
@@ -1,6 +1,6 @@
1
ifdef DOCKER_REGISTRY
2
-ifneq ($(DOCKER_REGISTRY), $(shell echo $(DOCKER_REGISTRY) | sed -ne '/^[A-Za-z0-9.\/\-]\+:[0-9]\+\([A-Za-z0-9.\/-]\+\)\?$$/p'))
3
-$(error Bad docker registry URL. Should follow format registry.example.com:1234 or registry.example.com:1234/foo)
+ifneq ($(DOCKER_REGISTRY), $(shell echo $(DOCKER_REGISTRY) | sed -ne '/^[A-Za-z0-9.\/\-]\+\(:[0-9]\+\)\?\([A-Za-z0-9.\/-]\+\)\?$$/p'))
+$(error Bad docker registry URL. Should follow format registry.example.com/foo, registry.example.com:1234 or registry.example.com:1234/foo)
4
endif
5
REGISTRY=$(DOCKER_REGISTRY)/
6
else
0 commit comments