diff --git a/Makefile b/Makefile index 3a292e4..e2ac5a7 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ .PHONY: imageHaproxy -REGISTRY_IP=container.localdomain +REGISTRY_NAME=container.localdomain +REGISTRY_PORT=443 # linux/arm/v7 # linux/arm/v6 # linux/arm64 @@ -12,10 +13,10 @@ VERBOSITY=debug ## build imageHaproxy: - docker manifest rm $(REGISTRY_IP):5000/haproxy-k8s || true - docker-multi-arch-builder build -n haproxy-k8s --platforms $(PLATFORM) -v $(VERBOSITY) + docker manifest rm $(REGISTRY_NAME):$(REGISTRY_PORT)/haproxy-k8s || true + docker-multi-arch-builder build -n haproxy-k8s --platforms $(PLATFORM) -v $(VERBOSITY) --registry $(REGISTRY_NAME) --port $(REGISTRY_PORT) ## management status: - @curl -s $(REGISTRY_IP):5000/v2/_catalog | jq + @curl -ks -H "Host: $(REGISTRY_NAME)" https://$(REGISTRY_NAME):$(REGISTRY_PORT)/v2/_catalog | jq