2022-01-01 18:05:53 +00:00
|
|
|
.PHONY: imageKeepalived
|
|
|
|
|
2023-08-18 19:22:57 +00:00
|
|
|
REGISTRY_IP=container.localdomain
|
2022-01-01 18:05:53 +00:00
|
|
|
# linux/arm/v7
|
|
|
|
# linux/arm/v6
|
|
|
|
# linux/arm64
|
|
|
|
# linux/amd64
|
2022-01-16 21:56:08 +00:00
|
|
|
PLATFORM=linux/arm64,linux/amd64
|
|
|
|
#VERBOSITY=info
|
|
|
|
VERBOSITY=debug
|
2022-01-01 18:05:53 +00:00
|
|
|
|
|
|
|
## build
|
|
|
|
|
|
|
|
imageKeepalived:
|
2023-07-03 19:47:20 +00:00
|
|
|
docker manifest rm $(REGISTRY_IP):5000/keepalived-k8s:latest || true
|
|
|
|
docker-multi-arch-builder build -n keepalived-k8s --platforms $(PLATFORM) -v $(VERBOSITY)
|
2022-01-01 18:05:53 +00:00
|
|
|
|
|
|
|
## management
|
|
|
|
|
|
|
|
status:
|
|
|
|
@curl -s $(REGISTRY_IP):5000/v2/_catalog | jq
|