feat: update makefile
All checks were successful
Main / build (push) Successful in 1m1s

This commit is contained in:
RouxAntoine 2025-04-13 10:35:28 +02:00
parent bca64dfc2b
commit 98747d19ad
Signed by: antoine
GPG Key ID: 098FB66FC0475E70

View File

@ -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