mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 12:58:02 +08:00
Upgrade oras cli (#1021)
* chore: upgrade oras cli Signed-off-by: Petu Eusebiu <peusebiu@cisco.com> * fix(oci references): referrers API should not return 404 if repo exists Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
This commit is contained in:
@@ -15,6 +15,7 @@ NOTATION := $(TOOLSDIR)/bin/notation
|
||||
COSIGN := $(TOOLSDIR)/bin/cosign
|
||||
HELM := $(TOOLSDIR)/bin/helm
|
||||
ORAS := $(TOOLSDIR)/bin/oras
|
||||
ORAS_VERSION := 0.16.0
|
||||
REGCLIENT := $(TOOLSDIR)/bin/regctl
|
||||
REGCLIENT_VERSION := v0.4.5
|
||||
STACKER := $(TOOLSDIR)/bin/stacker
|
||||
@@ -110,7 +111,7 @@ $(NOTATION):
|
||||
|
||||
$(ORAS):
|
||||
mkdir -p $(TOOLSDIR)/bin
|
||||
curl -Lo oras.tar.gz https://github.com/oras-project/oras/releases/download/v0.14.0/oras_0.14.0_linux_amd64.tar.gz
|
||||
curl -Lo oras.tar.gz https://github.com/oras-project/oras/releases/download/v$(ORAS_VERSION)/oras_$(ORAS_VERSION)_linux_amd64.tar.gz
|
||||
tar xvzf oras.tar.gz -C $(TOOLSDIR)/bin oras
|
||||
rm oras.tar.gz
|
||||
|
||||
|
||||
Reference in New Issue
Block a user