From 54226bfa9cb8ad060b9fc21efc3525c6e6697ea9 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Wed, 27 Sep 2023 15:30:19 -0400 Subject: [PATCH] fix: In Makefile, download zot as ZOT rather than regclient This was a copy/paste error added by my last change to Makefile. Instead of downloading zot to TOOLS_D/bin/zot, we were downloading regclient. Big surprise, regclient binary doesn't work like zot binary. Fix the download url, and also update the ZOT_VERSION to include the 'v' for consistency with REGCLIENT_VERSION and GOLANGCI_LINT_VERSION. Signed-off-by: Scott Moser --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b4149ba7..dd9b2654 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ REGCLIENT := $(TOOLS_D)/bin/regctl REGCLIENT_VERSION := v0.5.1 # OCI registry ZOT := $(TOOLS_D)/bin/zot -ZOT_VERSION := 2.0.0-rc6 +ZOT_VERSION := v2.0.0-rc6 GOLANGCI_LINT_VERSION = v1.54.2 GOLANGCI_LINT = $(TOOLS_D)/golangci-lint/$(GOLANGCI_LINT_VERSION)/golangci-lint @@ -94,7 +94,7 @@ $(REGCLIENT): $(call dlbin,$@,https://github.com/regclient/regclient/releases/download/$(REGCLIENT_VERSION)/regctl-linux-amd64) $(ZOT): - $(call dlbin,$@,https://github.com/regclient/regclient/releases/download/$(REGCLIENT_VERSION)/regctl-linux-amd64) + $(call dlbin,$@,https://github.com/project-zot/zot/releases/download/$(ZOT_VERSION)/zot-linux-amd64-minimal) TEST?=$(patsubst test/%.bats,%,$(wildcard test/*.bats)) PRIVILEGE_LEVEL?=