From 98747d19ad48fe45b239187f2ef0f96f5e866d02 Mon Sep 17 00:00:00 2001 From: RouxAntoine Date: Sun, 13 Apr 2025 10:35:28 +0200 Subject: [PATCH] feat: update makefile --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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