RouxAntoine 98747d19ad
All checks were successful
Main / build (push) Successful in 1m1s
feat: update makefile
2025-04-13 10:35:43 +02:00

23 lines
560 B
Makefile

.PHONY: imageHaproxy
REGISTRY_NAME=container.localdomain
REGISTRY_PORT=443
# linux/arm/v7
# linux/arm/v6
# linux/arm64
# linux/amd64
PLATFORM=linux/arm64,linux/amd64
#VERBOSITY=info
VERBOSITY=debug
## build
imageHaproxy:
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 -ks -H "Host: $(REGISTRY_NAME)" https://$(REGISTRY_NAME):$(REGISTRY_PORT)/v2/_catalog | jq