docker-keepalived-k8s/Makefile

22 lines
436 B
Makefile

.PHONY: imageKeepalived
REGISTRY_IP=docker.registry
# linux/arm/v7
# linux/arm/v6
# linux/arm64
# linux/amd64
PLATFORM=linux/arm64,linux/amd64
#VERBOSITY=info
VERBOSITY=debug
## build
imageKeepalived:
docker manifest rm $(REGISTRY_IP):5000/keepalived-k8s:latest || true
docker-multi-arch-builder build -n keepalived-k8s --platforms $(PLATFORM) -v $(VERBOSITY)
## management
status:
@curl -s $(REGISTRY_IP):5000/v2/_catalog | jq