docker-haproxy-k8s/Makefile
2023-08-19 12:18:15 +02:00

22 lines
423 B
Makefile

.PHONY: imageHaproxy
REGISTRY_IP=container.localdomain
# 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_IP):5000/haproxy-k8s || true
docker-multi-arch-builder build -n haproxy-k8s --platforms $(PLATFORM) -v $(VERBOSITY)
## management
status:
@curl -s $(REGISTRY_IP):5000/v2/_catalog | jq