diff --git a/Makefile b/Makefile index faf2966..5d11233 100644 --- a/Makefile +++ b/Makefile @@ -5,19 +5,14 @@ REGISTRY_IP=docker.registry # linux/arm/v6 # linux/arm64 # linux/amd64 -PLATFORM=linux/amd64 -#OCI_CLI=nerdctl -OCI_CLI=docker -#OCI_CLI_BUILD=$(OCI_CLI) -OCI_CLI_BUILD=$(OCI_CLI) buildx +PLATFORM=linux/arm64,linux/amd64 +#VERBOSITY=info +VERBOSITY=debug ## build -shell_build_image = $(OCI_CLI_BUILD) build --platform $(PLATFORM) -t $(REGISTRY_IP):5000/$(1) .; \ - $(OCI_CLI) push $(REGISTRY_IP):5000/$(1); - imageKeepalived: - $(call shell_build_image,keepalived-k8s) + $(shell docker-multi-arch-builder build -n keepalived-k8s --platforms $(PLATFORM) -v $(VERBOSITY)) ## management