This commit is contained in:
parent
bca64dfc2b
commit
98747d19ad
9
Makefile
9
Makefile
@ -1,6 +1,7 @@
|
|||||||
.PHONY: imageHaproxy
|
.PHONY: imageHaproxy
|
||||||
|
|
||||||
REGISTRY_IP=container.localdomain
|
REGISTRY_NAME=container.localdomain
|
||||||
|
REGISTRY_PORT=443
|
||||||
# linux/arm/v7
|
# linux/arm/v7
|
||||||
# linux/arm/v6
|
# linux/arm/v6
|
||||||
# linux/arm64
|
# linux/arm64
|
||||||
@ -12,10 +13,10 @@ VERBOSITY=debug
|
|||||||
## build
|
## build
|
||||||
|
|
||||||
imageHaproxy:
|
imageHaproxy:
|
||||||
docker manifest rm $(REGISTRY_IP):5000/haproxy-k8s || true
|
docker manifest rm $(REGISTRY_NAME):$(REGISTRY_PORT)/haproxy-k8s || true
|
||||||
docker-multi-arch-builder build -n haproxy-k8s --platforms $(PLATFORM) -v $(VERBOSITY)
|
docker-multi-arch-builder build -n haproxy-k8s --platforms $(PLATFORM) -v $(VERBOSITY) --registry $(REGISTRY_NAME) --port $(REGISTRY_PORT)
|
||||||
|
|
||||||
## management
|
## management
|
||||||
|
|
||||||
status:
|
status:
|
||||||
@curl -s $(REGISTRY_IP):5000/v2/_catalog | jq
|
@curl -ks -H "Host: $(REGISTRY_NAME)" https://$(REGISTRY_NAME):$(REGISTRY_PORT)/v2/_catalog | jq
|
||||||
|
Loading…
x
Reference in New Issue
Block a user